Skip to content

Scheduling infrastructure for absolutely everyone.

chore: Add login to rewrites (#11466)

Alex van Andela5c05bc550b6
diff --git a/apps/web/next.config.js b/apps/web/next.config.js
index be0fe69cdd4..5922803442f 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
? [