Skip to content

SigNoz is an open-source, OpenTelemetry-native observability platform for your team and their AI agents. Get logs, metrics, and traces in one tool with features like APM, distributed tracing, log management, infra monitoring, etc. Combined with SigNoz MCP and a native AI teammate (in SigNoz Cloud) it helps you build more resilient apps.

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

palash-signozffd2c9b466bf
diff --git a/frontend/src/constants/env.ts b/frontend/src/constants/env.ts
index 6e12260df1..e7fe9610e0 100644
--- a/frontend/src/constants/env.ts
+++ b/frontend/src/constants/env.ts
@@ -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' ||
+ '',
};