Adds v2 launch instructions
parent
3c60b4f569
commit
6c4a372121
|
@ -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))
|
||||
) {
|
||||
|
|
Loading…
Reference in New Issue