Skip to content

Commit b1dca36

Browse files
Fix: let to const
Co-authored-by: Erica Pisani <[email protected]>
1 parent d125716 commit b1dca36

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
@@ -31,7 +31,7 @@ export const addMiddlewareHeaders = async (
3131
// We need to await the response to get the origin headers, then we can add the ones from middleware.
3232
const res = await originResponse
3333
const response = new Response(res.body, res)
34-
let originCookies = response.headers.get('set-cookie')
34+
const originCookies = response.headers.get('set-cookie')
3535
middlewareResponse.headers.forEach((value, key) => {
3636
response.headers.set(key, value)
3737
// Append origin cookies after middleware cookies

0 commit comments

Comments
 (0)