Skip to content

Commit 4f32149

Browse files
committed
Fix
1 parent 04c7469 commit 4f32149

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

common/src/envs/constants.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,7 @@ console.debug(`Running in ${HOSTING_ENV} (${ENV})`,);
5858
// }
5959

6060
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}`
61+
export const WEB_URL = IS_LOCAL ? `http://${LOCAL_WEB_DOMAIN}` : `https://www.${DOMAIN}`
6362
export const BACKEND_DOMAIN = IS_LOCAL ? LOCAL_BACKEND_DOMAIN : ENV_CONFIG.backendDomain
6463
export const FIREBASE_CONFIG = ENV_CONFIG.firebaseConfig
6564
export const PROJECT_ID = ENV_CONFIG.firebaseConfig.projectId

0 commit comments

Comments
 (0)