From f7414e8e6583c69cd3b8c7d46dd52f4e50bc8290 Mon Sep 17 00:00:00 2001 From: "M. Palanikannan" <73993394+Palanikannan1437@users.noreply.github.com> Date: Wed, 16 Apr 2025 18:23:25 +0530 Subject: [PATCH] regression: live base url (#2979) --- web/helpers/common.helper.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}`;