From 0d62311b41e279346548f345717cf7ce0ffe603c Mon Sep 17 00:00:00 2001 From: Udit Takkar <53316345+Udit-takkar@users.noreply.github.com> Date: Mon, 7 Aug 2023 16:51:02 +0530 Subject: [PATCH] fix: auth redirect (#10556) Co-authored-by: Hariom Balhara --- apps/web/next.config.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/apps/web/next.config.js b/apps/web/next.config.js index 6c38dddbb1..97c06df2ba 100644 --- a/apps/web/next.config.js +++ b/apps/web/next.config.js @@ -376,6 +376,11 @@ const nextConfig = { destination: "/signup", permanent: true, }, + { + source: "/auth", + destination: "/auth/login", + permanent: false, + }, { source: "/settings", destination: "/settings/my-account/profile",