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 authored Apr 9, 2024
1 parent 5f3ef0a commit 4f75774
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 4f75774

Please sign in to comment.