Skip to content

Scheduling infrastructure for absolutely everyone.

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

Jeroen Reumkensfaac3d0f5704
diff --git a/apps/web/next.config.js b/apps/web/next.config.js
index 46a1424de04..ba1d14190f6 100644
--- a/apps/web/next.config.js
+++ b/apps/web/next.config.js
@@ -241,6 +241,9 @@ const nextConfig = {
{
source: "/team/:slug/:type/embed",
destination: "/new-booker/team/:slug/:type/embed",
+ has: [{ type: "cookie", key: "new-booker-enabled" }],
+ },
+ {
source: "/d/:link/:slug",
destination: "/new-booker/d/:link/:slug",
has: [{ type: "cookie", key: "new-booker-enabled" }],