From 5cadff7aa2a3fb71e14530364101286395d7d8fc Mon Sep 17 00:00:00 2001 From: Adolfo Reyna Date: Fri, 26 Nov 2021 10:39:40 -0800 Subject: [PATCH] change loging ttl to 3 months --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index e7a7996..66fdaa0 100644 --- a/index.js +++ b/index.js @@ -104,7 +104,7 @@ DB.getDB.then((DB)=>{ }); const cookiesOptions = { - maxAge: 1000 * 60 * 60 * 24 * 30, // would expire after 30 days + maxAge: 1000 * 60 * 60 * 24 * 90, // would expire after 30 days httpOnly: true, // The cookie only accessible by the web server //signed: true // Indicates if the cookie should be signed sameSite: 'none', // This and secure are required for properly