Skip to content

Commit

Permalink
fix: fix typo in serializedCookie
Browse files Browse the repository at this point in the history
  • Loading branch information
pooya parsa committed Jun 3, 2019
1 parent 396500a commit 648fdc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/core/storage.js
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ export default class Storage {
} else if (process.server && this.ctx.res) {
// Send Set-Cookie header from server side
const prevCookies = this.ctx.res.getHeader('Set-Cookie')
this.ctx.res.setHeader('Set-Cookie', [].concat(prevCookies, serializeCookie))
this.ctx.res.setHeader('Set-Cookie', [].concat(prevCookies, serializedCookie))
}

return value
Expand Down

0 comments on commit 648fdc9

Please sign in to comment.