Skip to content

Commit be1da93

Browse files
committed
fix: cookie maxAge should be in seconds
1 parent 627c57c commit be1da93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/ssr/src/utils/constants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ export const DEFAULT_COOKIE_OPTIONS: CookieOptions = {
44
path: '/',
55
sameSite: 'lax',
66
httpOnly: false,
7-
maxAge: 60 * 60 * 24 * 365 * 1000
7+
maxAge: 60 * 60 * 24 * 365
88
};

0 commit comments

Comments
 (0)