chore: Add login to rewrites (#11466)
parent
fd02cc44fa
commit
a5c05bc550
|
@ -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
|
||||
? [
|
||||
|
|
Loading…
Reference in New Issue