Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.

next
patch 26 lines 1.5 KB
Raw
1 diff --git a/dist/build/templates/app-page-runtime.js b/dist/build/templates/app-page-runtime.js
2 index 393c9ef..b979f22 100644
3 --- a/dist/build/templates/app-page-runtime.js
4 +++ b/dist/build/templates/app-page-runtime.js
5 @@ -480,7 +480,7 @@ function createAppPageEntrypoint({ tree, page, pathname, require: __next_app_req
6 };
7 try {
8 const varyHeader = routeModule.getVaryHeader(resolvedPathname, interceptionRoutePatterns);
9 - res.setHeader('Vary', varyHeader);
10 + res.appendHeader('Vary', varyHeader);
11 const invokeRouteModule = async (span, context, renderOperation)=>{
12 const nextReq = new _node.NodeNextRequest(req);
13 const nextRes = new _node.NodeNextResponse(res);
14 diff --git a/dist/esm/build/templates/app-page-runtime.js b/dist/esm/build/templates/app-page-runtime.js
15 index b28d926..b21a079 100644
16 --- a/dist/esm/build/templates/app-page-runtime.js
17 +++ b/dist/esm/build/templates/app-page-runtime.js
18 @@ -503,7 +503,7 @@ export function createAppPageEntrypoint({ tree, page, pathname, require: __next_
19 };
20 try {
21 const varyHeader = routeModule.getVaryHeader(resolvedPathname, interceptionRoutePatterns);
22 - res.setHeader('Vary', varyHeader);
23 + res.appendHeader('Vary', varyHeader);
24 const invokeRouteModule = async (span, context, renderOperation)=>{
25 const nextReq = new NodeNextRequest(req);
26 const nextRes = new NodeNextResponse(res);