change loging ttl to 3 months
This commit is contained in:
2
index.js
2
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
|
||||
|
||||
Reference in New Issue
Block a user