Skip to content

Commit

Permalink
Merge pull request #163 from adhocteam/kw-secure-cookie
Browse files Browse the repository at this point in the history
Add explicit cookie-session options
  • Loading branch information
kryswisnaskas committed Feb 12, 2021
2 parents e985f60 + 61cb04e commit 55a2a37
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ app.use(cookieSession({

// Cookie Options. httpOnly is set by default to true for https
sameSite: 'lax',
secureProxy: true,
}));

if (process.env.NODE_ENV === 'production') {
Expand Down

0 comments on commit 55a2a37

Please sign in to comment.