From 8c2b75eb048ca415a07227f3962668e5e2c1a482 Mon Sep 17 00:00:00 2001 From: MartinBraquet Date: Tue, 7 Apr 2026 22:03:36 +0200 Subject: [PATCH] Update `DEPLOYED_WEB_URL` to use `PROD_CONFIG.domain` for production consistency --- common/src/envs/constants.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/src/envs/constants.ts b/common/src/envs/constants.ts index a9ccfb68..019eb714 100644 --- a/common/src/envs/constants.ts +++ b/common/src/envs/constants.ts @@ -54,7 +54,7 @@ export const LOCAL_WEB_DOMAIN = `localhost:3000` export const LOCAL_BACKEND_DOMAIN = `${IS_WEBVIEW_DEV_PHONE ? '192.168.1.3' : IS_LOCAL_ANDROID ? '10.0.2.2' : 'localhost'}:8088` export const DOMAIN = IS_LOCAL ? LOCAL_WEB_DOMAIN : ENV_CONFIG.domain -export const DEPLOYED_WEB_URL = `https://www.${ENV_CONFIG.domain}` +export const DEPLOYED_WEB_URL = `https://www.${PROD_CONFIG.domain}` // Careful: buildOgUrl uses WEB_URL and works only on https://www.compassmeet.com (not https://compassmeet.com) // x-vercel-error: INVALID_IMAGE_OPTIMIZE_REQUEST. Could work if needed though with some Vercel tweak