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