From 5c025c4440342606435b0da14c114eec9ede7c95 Mon Sep 17 00:00:00 2001 From: saml33 Date: Fri, 28 Jun 2024 22:40:19 +1000 Subject: [PATCH] redirect --- next.config.js | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/next.config.js b/next.config.js index c46a80c9..c5983a84 100644 --- a/next.config.js +++ b/next.config.js @@ -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, }, ]