fix: Fixed merge mistake in next.config breaking new booker redirects. (#9532)

pull/9231/head
Jeroen Reumkens 2023-06-15 11:00:44 +02:00 committed by GitHub
parent 3fb1ede770
commit faac3d0f57
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -241,6 +241,9 @@ const nextConfig = {
{ {
source: "/team/:slug/:type/embed", source: "/team/:slug/:type/embed",
destination: "/new-booker/team/:slug/:type/embed", destination: "/new-booker/team/:slug/:type/embed",
has: [{ type: "cookie", key: "new-booker-enabled" }],
},
{
source: "/d/:link/:slug", source: "/d/:link/:slug",
destination: "/new-booker/d/:link/:slug", destination: "/new-booker/d/:link/:slug",
has: [{ type: "cookie", key: "new-booker-enabled" }], has: [{ type: "cookie", key: "new-booker-enabled" }],