We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 04c7469 commit 4f32149Copy full SHA for 4f32149
common/src/envs/constants.ts
@@ -58,8 +58,7 @@ console.debug(`Running in ${HOSTING_ENV} (${ENV})`,);
58
// }
59
60
export const DOMAIN = IS_LOCAL ? LOCAL_WEB_DOMAIN : ENV_CONFIG.domain
61
-const protocol = IS_LOCAL ? 'http' : 'https'
62
-export const WEB_URL = `${protocol}://${DOMAIN}`
+export const WEB_URL = IS_LOCAL ? `http://${LOCAL_WEB_DOMAIN}` : `https://www.${DOMAIN}`
63
export const BACKEND_DOMAIN = IS_LOCAL ? LOCAL_BACKEND_DOMAIN : ENV_CONFIG.backendDomain
64
export const FIREBASE_CONFIG = ENV_CONFIG.firebaseConfig
65
export const PROJECT_ID = ENV_CONFIG.firebaseConfig.projectId
0 commit comments