Skip to content

Commit

Permalink
Update src/runtime/cache.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 authored Oct 18, 2023
1 parent 795b720 commit 0fdc6bc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/runtime/cache.ts
Original file line number Diff line number Diff line change
Expand Up @@ -407,6 +407,7 @@ export function defineCachedEventHandler<
for (const name in response.headers) {
const value = response.headers[name];
if (name === "set-cookie") {
// TODO: Show warning and remove this header in the next major version of Nitro
event.node.res.appendHeader(
name,
splitCookiesString(value as string[])
Expand Down

0 comments on commit 0fdc6bc

Please sign in to comment.