From f7c45ca045ce96acd8b219da6f5f5e6e785e8235 Mon Sep 17 00:00:00 2001 From: Nabarun Gogoi Date: Thu, 22 Feb 2024 17:52:49 +0530 Subject: [PATCH] Unset cookie domain to localhost by default (#100) --- packages/backend/src/server.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/backend/src/server.ts b/packages/backend/src/server.ts index a60e7551..7a4df019 100644 --- a/packages/backend/src/server.ts +++ b/packages/backend/src/server.ts @@ -87,7 +87,6 @@ export const createAndStartServer = async ( secure: new URL(appOriginUrl).protocol === 'https:', // TODO: Set cookie maxAge and handle cookie expiry in frontend // maxAge: SESSION_COOKIE_MAX_AGE, - domain: 'localhost', sameSite: new URL(appOriginUrl).protocol === 'https:' ? 'none' : 'lax' } };