bug(UI): frontend build is fixed (#692)

This commit is contained in:
palash-signoz 2022-02-09 16:47:34 +05:30 committed by GitHub
parent 51b11d0119
commit ffd2c9b466
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,3 +1,7 @@
export const ENVIRONMENT = {
baseURL: process?.env?.FRONTEND_API_ENDPOINT || process.env.GITPOD_WORKSPACE_URL.replace('://','://8080-') ||'http://localhost:8080'|| '',
baseURL:
process?.env?.FRONTEND_API_ENDPOINT ||
process.env?.GITPOD_WORKSPACE_URL?.replace('://', '://8080-') ||
'http://localhost:8080' ||
'',
};