diff --git a/next.config.js b/next.config.js index f8ec196e131..94658adb97d 100644 --- a/next.config.js +++ b/next.config.js @@ -19,6 +19,14 @@ const nextConfig = { scrollRestoration: true, reactCompiler: true, }, + async headers() { + return [ + { + source: '/:path((?!llms.txt).*)', + headers: [{key: 'Vary', value: 'Accept'}], + }, + ]; + }, async rewrites() { return { beforeFiles: [