8 lines
324 B
JavaScript
8 lines
324 B
JavaScript
const cookiesOptions = {
|
|
maxAge: 1000 * 60 * 60 * 24 * 90, // would expire after 30 days
|
|
httpOnly: true, // The cookie only accessible by the web server
|
|
sameSite: 'none', // This and secure are required for properly
|
|
secure: true, // manage cockies in cros-domain
|
|
};
|
|
|
|
module.exports = { cookiesOptions }; |