🪢 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
security: disable x-powered-by header (#2995)
Marc Klingen8471b7f7b330
diff --git a/web/next.config.mjs b/web/next.config.mjsindex 245eea238c..4a96916a04 100644--- a/web/next.config.mjs+++ b/web/next.config.mjs@@ -32,6 +32,7 @@ const nextConfig = {experimental: {instrumentationHook: true,},+ poweredByHeader: false,/*** If you have `experimental: { appDir: true }` set, then you must comment the below `i18n` config@@ -80,22 +81,22 @@ const nextConfig = {// Required to check authentication status from langfuse.com...(env.NEXT_PUBLIC_LANGFUSE_CLOUD_REGION !== undefined? [- {- source: "/api/auth/session",- headers: [- {- key: "Access-Control-Allow-Origin",- value: "https://langfuse.com",- },- { key: "Access-Control-Allow-Credentials", value: "true" },- { key: "Access-Control-Allow-Methods", value: "GET,POST" },- {- key: "Access-Control-Allow-Headers",- value: "Content-Type, Authorization",- },- ],- },- ]+ {+ source: "/api/auth/session",+ headers: [+ {+ key: "Access-Control-Allow-Origin",+ value: "https://langfuse.com",+ },+ { key: "Access-Control-Allow-Credentials", value: "true" },+ { key: "Access-Control-Allow-Methods", value: "GET,POST" },+ {+ key: "Access-Control-Allow-Headers",+ value: "Content-Type, Authorization",+ },+ ],+ },+ ]: []),// all files in /public/generated are public and can be accessed from any origin, e.g. to render an API reference based on our openapi schema{