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 b93c80a commit f841be2Copy full SHA for f841be2
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
- result.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