From a5a8b57a51d3b6706bfc3f506ca610a03dc7e880 Mon Sep 17 00:00:00 2001 From: Prakash Date: Thu, 12 Oct 2023 19:14:46 +0530 Subject: [PATCH] add env to cookie name --- config/default.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/default.ts b/config/default.ts index 99f49be..8198e26 100644 --- a/config/default.ts +++ b/config/default.ts @@ -20,7 +20,7 @@ export default { }, userAccessToken: { - cookieName: `rcal-session`, + cookieName: `rcal-session-${NODE_ENV}`, cookieDomain: '', ttl: 30 * 24 * 60 * 60, // in seconds refreshTtl: 180 * 24 * 60 * 60, // in seconds