From 2b196ba1f11d0fee097cd128155eea7076576a36 Mon Sep 17 00:00:00 2001 From: sriram veeraghanta Date: Tue, 14 May 2024 22:51:07 +0530 Subject: [PATCH] fix: window workflow build error --- 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 cc173b497..2f4814194 100644 --- a/web/helpers/common.helper.ts +++ b/web/helpers/common.helper.ts @@ -6,7 +6,7 @@ export const API_BASE_URL = process.env.NEXT_PUBLIC_API_BASE_URL || ""; export const ADMIN_BASE_URL = process.env.NEXT_PUBLIC_ADMIN_BASE_URL || ""; export const ADMIN_BASE_PATH = process.env.NEXT_PUBLIC_ADMIN_BASE_PATH || ""; -export const SPACE_BASE_URL = process.env.NEXT_PUBLIC_SPACE_BASE_URL || window.location.origin; +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 debounce = (func: any, wait: number, immediate: boolean = false) => {