mirror of
https://github.com/ArthurDanjou/artdanj-api.git
synced 2026-01-14 12:14:33 +01:00
Change cookie session
This commit is contained in:
@@ -77,7 +77,7 @@ const sessionConfig: SessionConfig = {
|
||||
cookie: {
|
||||
path: '/',
|
||||
httpOnly: true,
|
||||
sameSite: 'none',
|
||||
sameSite: Env.get('NODE_ENV') === 'production' ? 'none' : false,
|
||||
secure: Env.get('NODE_ENV') === 'production'
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user