Change cookie session

This commit is contained in:
2021-10-08 14:58:24 +02:00
parent 35756bbc86
commit 5b79f6dd1e

View File

@@ -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'
},