adding cors samesite to none
This commit is contained in:
@@ -78,6 +78,8 @@ DB.getDB.then((DB)=>{
|
||||
maxAge: 1000 * 60 * 60 * 24 * 30, // 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',
|
||||
secure: true,
|
||||
};
|
||||
|
||||
// route for user Login
|
||||
|
||||
Reference in New Issue
Block a user