From e2ac60e259df4f923723b1e6424b2b57c7327e2f Mon Sep 17 00:00:00 2001 From: sriram veeraghanta Date: Tue, 21 May 2024 13:43:54 +0530 Subject: [PATCH] fix: adding redirect rules to old signup page --- web/next.config.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/web/next.config.js b/web/next.config.js index 8af0d42e3..084058951 100644 --- a/web/next.config.js +++ b/web/next.config.js @@ -30,6 +30,15 @@ const nextConfig = { ], unoptimized: true, }, + async redirects() { + return [ + { + source: "/accounts/sign-up", + destination: "/", + permanent: true + } + ] + }, async rewrites() { const rewrites = [ {