🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.
TypeScript analyticsautogenevaluationlangchainlarge-language-modelsllama-indexllmllm-evaluationllm-observabilityllmopsmonitoringobservabilityopen-sourceopenaiplaygroundprompt-engineeringprompt-managementself-hostedycombinator
fix: security policy for posthog (#3040)
Max Deichmannea2e1b4873b0
diff --git a/web/next.config.mjs b/web/next.config.mjsindex b67b9f449f..07ad8e07d5 100644--- a/web/next.config.mjs+++ b/web/next.config.mjs@@ -22,7 +22,7 @@ const cspHeader = `base-uri 'self';form-action 'self';frame-ancestors 'none';- connect-src 'self' https://client.crisp.chat https://storage.crisp.chat wss://client.relay.crisp.chat wss://stream.relay.crisp.chat https://*.ingest.us.sentry.io;+ connect-src 'self' https://client.crisp.chat https://storage.crisp.chat wss://client.relay.crisp.chat wss://stream.relay.crisp.chat https://*.ingest.us.sentry.io https://ph.langfuse.com;media-src 'self' https://client.crisp.chat;${env.LANGFUSE_CSP_ENFORCE_HTTPS === "true" ? "upgrade-insecure-requests; block-all-mixed-content;" : ""}${env.SENTRY_CSP_REPORT_URI ? `report-uri ${env.SENTRY_CSP_REPORT_URI}; report-to csp-endpoint;` : ""}diff --git a/web/sentry.client.config.ts b/web/sentry.client.config.tsindex bd90da9d2d..32110e6255 100644--- a/web/sentry.client.config.ts+++ b/web/sentry.client.config.ts@@ -18,7 +18,7 @@ Sentry.init({? Number(process.env.NEXT_PUBLIC_LANGFUSE_TRACING_SAMPLE_RATE): 0.5,replaysOnErrorSampleRate: 1.0,- debug: true,+ debug: false,beforeSend(event, _hint) {// Check if it is an exception, and if so, show the report dialog