chore: add constant for production builds (#10762)

pull/10885/head^2
Omar López 2023-08-22 06:07:32 -07:00 committed by GitHub
parent 4836621c31
commit 55046f3017
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -4,6 +4,7 @@ const HEROKU_URL = process.env.HEROKU_APP_NAME ? `https://${process.env.HEROKU_A
const RENDER_URL = process.env.RENDER_EXTERNAL_URL ? `https://${process.env.RENDER_EXTERNAL_URL}` : "";
export const CALCOM_ENV = process.env.CALCOM_ENV || process.env.NODE_ENV;
export const IS_PRODUCTION = CALCOM_ENV === "production";
export const IS_PRODUCTION_BUILD = process.env.NODE_ENV === "production";
export const WEBAPP_URL =
process.env.NEXT_PUBLIC_WEBAPP_URL ||