Adds v2 launch instructions

This commit is contained in:
zomars committed 2022-09-13 11:15:37 -05:00
1 parent 3c60b4f569
commit 6c4a372121
1 file changed
+2
+2
View File
@@ -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))
) {