🪢 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
chore: add noindex header (#5880)
Marc Klingenfea8a3d8d11d
diff --git a/web/next.config.mjs b/web/next.config.mjsindex f93713a32e..678ea64317 100644--- a/web/next.config.mjs+++ b/web/next.config.mjs@@ -79,6 +79,16 @@ const nextConfig = {async headers() {return [+ {+ // Add noindex for all pages except root and /auth*+ source: "/:path((?!auth|^$).*)*",+ headers: [+ {+ key: "X-Robots-Tag",+ value: "noindex",+ },+ ],+ },{source: "/:path*",headers: [@@ -129,22 +139,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{