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