Skip to content

Commit

Permalink
redirect
Browse files Browse the repository at this point in the history
  • Loading branch information
saml33 committed Jun 28, 2024
1 parent 856e54d commit 5c025c4
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,8 @@ const moduleExports = {
async redirects() {
return [
{
source: '/market',
destination: '/',
permanent: true,
},
{
source: '/spot/:name',
destination: '/',
permanent: true,
},
{
source: '/perp/:name',
destination: '/',
source: '*',
destination: 'https://mango.markets',
permanent: true,
},
]
Expand Down

0 comments on commit 5c025c4

Please sign in to comment.