chore: Add login to rewrites (#11466)
This commit is contained in:
1 parent
fd02cc44fa
commit
a5c05bc550
1 file changed
+4
@@ -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
|
||||
? [
|
||||
|
||||
Reference in new issue
Block a user