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 f841be2 commit 69047bbCopy full SHA for 69047bb
packages/runtime/src/templates/edge-shared/utils.ts
@@ -187,7 +187,7 @@ export const buildResponse = async ({
187
188
// NextResponse doesn't set cookies onto the originResponse, so we need to copy them over
189
if (response.headers.has('set-cookie')) {
190
- response.originResponse.headers.set('set-cookie', response.headers.get('set-cookie'))
+ response.originResponse.headers.set('set-cookie', response.headers.get('set-cookie')!)
191
}
192
193
// If it's JSON we don't need to use the rewriter, we can just parse it
0 commit comments