Skip to content

Scheduling infrastructure for absolutely everyone.

Adds v2 launch instructions

zomars6c4a372121e3
diff --git a/apps/web/middleware.ts b/apps/web/middleware.ts
index 7b836e31210..0f1f96b230d 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))
) {