chore: Skipping totp code for org dev (#10403)
This commit is contained in:
1 parent
83d98a1ac4
commit
dae4627ada
3 files changed
+8
-3
No files matched your search
@@ -34,10 +34,12 @@ export const IS_CALCOM =
|
||||
WEBAPP_URL &&
|
||||
(new URL(WEBAPP_URL).hostname.endsWith("cal.com") ||
|
||||
new URL(WEBAPP_URL).hostname.endsWith("cal.dev") ||
|
||||
new URL(WEBAPP_URL).hostname.endsWith("cal.qa") ||
|
||||
new URL(WEBAPP_URL).hostname.endsWith("cal-staging.com"));
|
||||
|
||||
export const CONSOLE_URL =
|
||||
new URL(WEBAPP_URL).hostname.endsWith(".cal.dev") ||
|
||||
new URL(WEBAPP_URL).hostname.endsWith(".cal.qa") ||
|
||||
new URL(WEBAPP_URL).hostname.endsWith(".cal-staging.com") ||
|
||||
process.env.NODE_ENV !== "production"
|
||||
? `https://console.cal.dev`
|
||||
|
||||
Reference in new issue
Block a user