chore: Env fix (#693)

* bug(UI): frontend build is fixed

* chore; build is fixed

* chore: build is fixed
This commit is contained in:
palash-signoz 2022-02-09 17:22:21 +05:30 committed by GitHub
parent ffd2c9b466
commit 03eac8963f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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-') ||
'',
};