Skip to content

Commit

Permalink
fix: cookie
Browse files Browse the repository at this point in the history
  • Loading branch information
Averito committed Jan 27, 2024
1 parent 54e6008 commit c69a2fa
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions server/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,7 @@ async function bootstrap() {
resave: false,
saveUninitialized: false,
cookie: {
maxAge: 1000 * 60 * 60 * 24,
secure: !development,
sameSite: true
maxAge: 1000 * 60 * 60 * 24
}
})
)
Expand Down

0 comments on commit c69a2fa

Please sign in to comment.