diff --git a/apps/web/next.config.js b/apps/web/next.config.js index be0fe69cdd..5922803442 100644 --- a/apps/web/next.config.js +++ b/apps/web/next.config.js @@ -226,6 +226,10 @@ const nextConfig = { }, async rewrites() { const beforeFiles = [ + { + source: "/login", + destination: "/auth/login", + }, // These rewrites are other than booking pages rewrites and so that they aren't redirected to org pages ensure that they happen in beforeFiles ...(isOrganizationsEnabled ? [