From faac3d0f570434804f5f2e167a648661f5c5c703 Mon Sep 17 00:00:00 2001 From: Jeroen Reumkens Date: Thu, 15 Jun 2023 11:00:44 +0200 Subject: [PATCH] fix: Fixed merge mistake in next.config breaking new booker redirects. (#9532) --- apps/web/next.config.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apps/web/next.config.js b/apps/web/next.config.js index 46a1424de0..ba1d14190f 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" }],