From 6d1b21010a65d4a9e81db71801e3e7bb91b34a59 Mon Sep 17 00:00:00 2001 From: saml33 <30796577+saml33@users.noreply.github.com> Date: Mon, 1 Jul 2024 10:26:47 +1000 Subject: [PATCH] redirect (#424) --- next.config.js | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/next.config.js b/next.config.js index c46a80c9..cbf9f2c2 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: '/:path*', + destination: 'https://mango.markets', permanent: true, }, ]