mirror of
https://github.com/ArthurDanjou/artdanj-api.git
synced 2026-01-28 02:20:27 +01:00
update cookies
This commit is contained in:
@@ -102,12 +102,11 @@ export const http: ServerConfig = {
|
|||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
cookie: {
|
cookie: {
|
||||||
domain: '',
|
|
||||||
path: '/',
|
path: '/',
|
||||||
maxAge: '2h',
|
|
||||||
httpOnly: true,
|
httpOnly: true,
|
||||||
|
sameSite: false,
|
||||||
|
domain: '.arthurdanjou.fr',
|
||||||
secure: true,
|
secure: true,
|
||||||
sameSite: true,
|
|
||||||
},
|
},
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
@@ -63,7 +63,7 @@ const sessionConfig: SessionConfig = {
|
|||||||
| Example: `2 days`, `2.5 hrs`, `1y`, `5s` and so on.
|
| Example: `2 days`, `2.5 hrs`, `1y`, `5s` and so on.
|
||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
age: '2 days',
|
age: '2h',
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user