Skip to content

Commit

Permalink
More max-age tests
Browse files Browse the repository at this point in the history
  • Loading branch information
idan committed Aug 27, 2024
1 parent cc07625 commit a932508
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hooks.server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export const handle: Handle = async ({ event, resolve }) => {
event.setHeaders({ 'X-My-Path-Is': event.url.pathname });
event.cookies.set('testcookie', 'testcookie', {
path: '/',
maxAge: 3153600000,
maxAge: 315360000,
});

event.setHeaders({'X-All-The-Cookies': JSON.stringify(event.cookies.getAll())});
Expand Down

0 comments on commit a932508

Please sign in to comment.