From 03eac8963f7ad21579f99cd834220a7d4a0f9fd6 Mon Sep 17 00:00:00 2001 From: palash-signoz Date: Wed, 9 Feb 2022 17:22:21 +0530 Subject: [PATCH] chore: Env fix (#693) * bug(UI): frontend build is fixed * chore; build is fixed * chore: build is fixed --- frontend/src/constants/env.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/frontend/src/constants/env.ts b/frontend/src/constants/env.ts index e7fe9610e07f..2c5230dfcc48 100644 --- a/frontend/src/constants/env.ts +++ b/frontend/src/constants/env.ts @@ -1,7 +1,6 @@ export const ENVIRONMENT = { baseURL: process?.env?.FRONTEND_API_ENDPOINT || - process.env?.GITPOD_WORKSPACE_URL?.replace('://', '://8080-') || - 'http://localhost:8080' || + process?.env?.GITPOD_WORKSPACE_URL?.replace('://', '://8080-') || '', };