Skip to content

Commit

Permalink
Forward opts.secure to the cookies library
Browse files Browse the repository at this point in the history
  • Loading branch information
wille authored Oct 28, 2024
1 parent a9466a8 commit f294a01
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@ function cookieSession (options) {

return function _cookieSession (req, res, next) {
var cookies = new Cookies(req, res, {
keys: keys
keys: keys,
secure: opts.secure
})
var sess

Expand Down

0 comments on commit f294a01

Please sign in to comment.