Skip to content

Commit

Permalink
Merge pull request #55 from rubentalstra/dev
Browse files Browse the repository at this point in the history
Fix sameSite attribute case in session cookie
  • Loading branch information
rubentalstra authored Mar 24, 2024
2 parents abdce5d + 5ecb399 commit c7f8da1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ app.use(session({
saveUninitialized: true,
cookie: {
secure: true,
sameSite: 'Lax',
sameSite: 'lax',
domain: 'bak-counter.azurewebsites.net',
maxAge: 7 * 24 * 60 * 60 * 1000 // 7 days
}
Expand Down

0 comments on commit c7f8da1

Please sign in to comment.