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