diff --git a/apps/web/middleware.ts b/apps/web/middleware.ts index 7b836e3121..0f1f96b230 100644 --- a/apps/web/middleware.ts +++ b/apps/web/middleware.ts @@ -44,7 +44,9 @@ const middleware: NextMiddleware = async (req) => { } /** Display available V2 pages to users who opted-in to early access */ if ( + // ⬇ TODO: Remove this line for V2 launch req.cookies.has("calcom-v2-early-access") && + // ⬆ TODO: Remove this line for V2 launch !V2_BLACKLIST.some((p) => url.pathname.startsWith(p)) && V2_WHITELIST.some((p) => url.pathname.startsWith(p)) ) {