Skip to content

Commit f841be2

Browse files
committed
fix: oops
1 parent b93c80a commit f841be2

File tree

1 file changed

+1
-1
lines changed
  • packages/runtime/src/templates/edge-shared

1 file changed

+1
-1
lines changed

packages/runtime/src/templates/edge-shared/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ export const buildResponse = async ({
187187

188188
// NextResponse doesn't set cookies onto the originResponse, so we need to copy them over
189189
if (response.headers.has('set-cookie')) {
190-
result.originResponse.headers.set('set-cookie', response.headers.get('set-cookie'))
190+
response.originResponse.headers.set('set-cookie', response.headers.get('set-cookie'))
191191
}
192192

193193
// If it's JSON we don't need to use the rewriter, we can just parse it

0 commit comments

Comments
 (0)