Skip to content

Commit

Permalink
refactor: un-burn redirect urls, update links instead
Browse files Browse the repository at this point in the history
  • Loading branch information
0xMirim committed Sep 25, 2023
1 parent af4640d commit 1990b60
Showing 1 changed file with 29 additions and 3 deletions.
32 changes: 29 additions & 3 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,39 @@ 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/yearnfi',
permanent: true
},
{
source: '/telegram',
destination: 'https://t.me/yearnfinance/',
permanent: true
},
{
source: '/medium',
destination: 'https://medium.com/iearn',
permanent: true
},
{
source: '/governance',
destination: 'https://gov.yearn.fi/',
permanent: true
},
{
source: '/snapshot',
destination: 'https://snapshot.org/#/ybaby.eth',
permanent: true
}
];
Expand Down

0 comments on commit 1990b60

Please sign in to comment.