Skip to content

Commit

Permalink
feat(cookie-options)!: set secure for production
Browse files Browse the repository at this point in the history
  • Loading branch information
dargmuesli committed Mar 20, 2024
1 parent 8bb24c9 commit 469701e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/runtime/types.ts
Expand Up @@ -144,6 +144,7 @@ export const DEFAULTS: Required<ModuleOptions> = {
cookieOptions: {
path: '/',
sameSite: 'strict',
secure: process.env.NODE_ENV === 'development' ? undefined : true,
},
isAcceptNecessaryButtonEnabled: true,
isControlButtonEnabled: true,
Expand Down

0 comments on commit 469701e

Please sign in to comment.