Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b3d0c56 commit a01164eCopy full SHA for a01164e
.changeset/heavy-moles-share.md
@@ -0,0 +1,5 @@
1
+---
2
+"@opennextjs/aws": patch
3
4
+
5
+fix external rewrite for streaming
packages/open-next/src/core/requestHandler.ts
@@ -138,7 +138,7 @@ export async function openNextHandler(
138
origin: false,
139
initialURL: internalEvent.url,
140
},
141
- headers,
+ routingResult.headers,
142
options.streamCreator,
143
);
144
response.statusCode = routingResult.statusCode;
0 commit comments