adding cors samesite to none

This commit is contained in:
Adolfo Reyna
2021-07-20 13:18:13 -07:00
parent e06cae8c8f
commit 43df66efab

View File

@@ -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