mirror of
https://github.com/CompassConnections/Compass.git
synced 2026-04-07 16:19:44 -04:00
Update DEPLOYED_WEB_URL to use PROD_CONFIG.domain for production consistency
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user