diff --git a/packages/api/src/context.ts b/packages/api/src/context.ts index 9b000b2c1..42c7c983e 100644 --- a/packages/api/src/context.ts +++ b/packages/api/src/context.ts @@ -101,6 +101,8 @@ export function createTRPCContext( "Set-Cookie", cookie.serialize("distinctId", distinctId, { maxAge: 60 * 60 * 24 * 365, + httpOnly: false, + path: "/", }) ); }