Fixes connectionIntegration undefined bug (#1987)

* Fixes connectionIntegration undefined bug

* fixes adding NEXT_PUBLIC_BASE_URL to consts and using that

Co-authored-by: Agusti Fernandez Pardo <[email protected]>
This commit is contained in:
Agusti FernandezandAgusti Fernandez Pardo authored and GitHub committed 2022-02-26 12:27:52 -07:00
1 parent 48f969eae5
commit 5d4cbe37eb
2 files changed
+3 -2

No files matched your search

+1
View File
@@ -3,3 +3,4 @@ export const WEBSITE_URL = process.env.NEXT_PUBLIC_APP_URL || "https://cal.com";
export const IS_PRODUCTION = process.env.NODE_ENV === "production";
export const TRIAL_LIMIT_DAYS = 14;
export const HOSTED_CAL_FEATURES = process.env.HOSTED_CAL_FEATURES || BASE_URL === "https://app.cal.com";
export const NEXT_PUBLIC_BASE_URL = process.env.NEXT_PUBLIC_BASE_URL || `https://${process.env.VERCEL_URL}`;