update cookies

This commit is contained in:
2021-09-10 12:21:25 +02:00
parent de1056d965
commit 4780d258a0
2 changed files with 3 additions and 4 deletions

View File

@@ -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,
}, },
/* /*

View File

@@ -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',
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------