All prod builds should call prod console

pull/2943/head
zomars 2022-06-02 13:34:32 -06:00
parent eeb9ff662e
commit 887bd66a33
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ export const CAL_URL = new URL(WEBAPP_URL).hostname.endsWith(".vercel.app") ? WE
export const CONSOLE_URL = WEBAPP_URL.startsWith("http://localhost") export const CONSOLE_URL = WEBAPP_URL.startsWith("http://localhost")
? "http://localhost:3004" ? "http://localhost:3004"
: `https://console.cal.${process.env.VERCEL_ENV === "production" ? "com" : "dev"}`; : `https://console.cal.${process.env.NODE_ENV === "production" ? "com" : "dev"}`;
export const EMBED_LIB_URL = process.env.NEXT_PUBLIC_EMBED_LIB_URL || `${WEBAPP_URL}/embed/embed.js`; export const EMBED_LIB_URL = process.env.NEXT_PUBLIC_EMBED_LIB_URL || `${WEBAPP_URL}/embed/embed.js`;
export const IS_PRODUCTION = process.env.NODE_ENV === "production"; export const IS_PRODUCTION = process.env.NODE_ENV === "production";
export const TRIAL_LIMIT_DAYS = 14; export const TRIAL_LIMIT_DAYS = 14;