Change secure to dev mode

This commit is contained in:
2021-09-14 21:06:24 +02:00
parent 51e92d7c02
commit ee5c6a8de7
2 changed files with 2 additions and 2 deletions

View File

@@ -105,7 +105,7 @@ export const http: ServerConfig = {
path: '/',
httpOnly: true,
sameSite: 'none',
secure: true
secure: Env.get('NODE_ENV') === 'production'
},
/*

View File

@@ -78,7 +78,7 @@ const sessionConfig: SessionConfig = {
path: '/',
httpOnly: true,
sameSite: 'none',
secure: true
secure: Env.get('NODE_ENV') === 'production'
},
/*