🪢 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(csp): add unsafe-eval to script-src in dev (#1543)
Marc Klingenaf4106d463a6
diff --git a/web/next.config.mjs b/web/next.config.mjsindex 5bc427fc86..8533524560 100644--- a/web/next.config.mjs+++ b/web/next.config.mjs@@ -12,7 +12,7 @@ import { env } from "./src/env.mjs";*/const cspHeader = `default-src 'self' https://ph.langfuse.com https://*.posthog.com wss://*.crisp.chat https://*.crisp.chat;- script-src 'self' https://*.crisp.chat https://challenges.cloudflare.com;+ script-src 'self' ${process.env.NODE_ENV === "development" ? "'unsafe-eval'" : ""} https://*.crisp.chat https://challenges.cloudflare.com;style-src 'self' 'unsafe-inline' https://*.crisp.chat;img-src 'self' https: blob: data:;font-src 'self' https://*.crisp.chat;