Skip to content

Commit

Permalink
fix: cookie maxAge should be in seconds
Browse files Browse the repository at this point in the history
  • Loading branch information
hmnd committed Apr 28, 2024
1 parent 627c57c commit be1da93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ssr/src/utils/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ export const DEFAULT_COOKIE_OPTIONS: CookieOptions = {
path: '/',
sameSite: 'lax',
httpOnly: false,
maxAge: 60 * 60 * 24 * 365 * 1000
maxAge: 60 * 60 * 24 * 365
};

0 comments on commit be1da93

Please sign in to comment.