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 d125716 commit b1dca36Copy full SHA for b1dca36
packages/runtime/src/templates/edge-shared/utils.ts
@@ -31,7 +31,7 @@ export const addMiddlewareHeaders = async (
31
// We need to await the response to get the origin headers, then we can add the ones from middleware.
32
const res = await originResponse
33
const response = new Response(res.body, res)
34
- let originCookies = response.headers.get('set-cookie')
+ const originCookies = response.headers.get('set-cookie')
35
middlewareResponse.headers.forEach((value, key) => {
36
response.headers.set(key, value)
37
// Append origin cookies after middleware cookies
0 commit comments