Skip to content

Commit

Permalink
refactor: Adjust outdated redirects (#363)
Browse files Browse the repository at this point in the history
* refactor: Remove out of date and unused redirects

* refactor: un-burn redirect urls, update links instead

* fix: Update snapshot redirect to new url
  • Loading branch information
0xMirim authored Sep 27, 2023
1 parent d44cc84 commit d73a02a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,19 +40,19 @@ module.exports = withBundleAnalyzer(withPWA({
{
source: '/:path*',
has: [{type: 'host', value: 'ybribe.com'}],
destination: 'https://yearn.finance/ybribe/:path*',
destination: 'https://yearn.fi/ybribe/:path*',
permanent: true
},
{
source: '/:path*',
has: [{type: 'host', value: 'vote.yearn.finance'}],
destination: 'https://yearn.finance/veyfi/:path*',
has: [{type: 'host', value: 'vote.yearn.fi'}],
destination: 'https://yearn.fi/veyfi/:path*',
permanent: true
},
//
{
source: '/twitter',
destination: 'https://twitter.com/iearnfinance',
destination: 'https://twitter.com/yearnfi',
permanent: true
},
{
Expand All @@ -67,12 +67,12 @@ module.exports = withBundleAnalyzer(withPWA({
},
{
source: '/governance',
destination: 'https://gov.yearn.finance/',
destination: 'https://gov.yearn.fi/',
permanent: true
},
{
source: '/snapshot',
destination: 'https://snapshot.org/#/ybaby.eth',
destination: 'https://snapshot.org/#/veyfi.eth',
permanent: true
}
];
Expand Down

1 comment on commit d73a02a

@vercel
Copy link

@vercel vercel bot commented on d73a02a Sep 27, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.