diff --git a/web/helpers/common.helper.ts b/web/helpers/common.helper.ts index fe74e8dc8b..c17d170017 100644 --- a/web/helpers/common.helper.ts +++ b/web/helpers/common.helper.ts @@ -10,7 +10,7 @@ export const ADMIN_BASE_PATH = process.env.NEXT_PUBLIC_ADMIN_BASE_PATH || ""; export const SPACE_BASE_URL = process.env.NEXT_PUBLIC_SPACE_BASE_URL || ""; export const SPACE_BASE_PATH = process.env.NEXT_PUBLIC_SPACE_BASE_PATH || ""; -export const LIVE_BASE_URL = Math.random() < 0.5 ? "http://localhost:3004" : "http://localhost:3005"; +export const LIVE_BASE_URL = process.env.NEXT_PUBLIC_LIVE_BASE_URL || ""; export const LIVE_BASE_PATH = process.env.NEXT_PUBLIC_LIVE_BASE_PATH || ""; export const LIVE_URL = `${LIVE_BASE_URL}${LIVE_BASE_PATH}`;