diff --git a/src/lib/jwt.ts b/src/lib/jwt.ts index b8fd57caf..e7d0ab7a0 100644 --- a/src/lib/jwt.ts +++ b/src/lib/jwt.ts @@ -57,7 +57,7 @@ export function visitAIRoadmap(roadmapId: string) { Cookies.set(`crv-${roadmapId}`, '1', { path: '/', - expires: 30, + expires: 1 / 24, // 1 hour sameSite: 'lax', secure: !import.meta.env.DEV, domain: import.meta.env.DEV ? 'localhost' : '.roadmap.sh',