fix: http, improve env

This commit is contained in:
Isaac
2023-02-01 21:19:48 +00:00
parent ff37d63f2a
commit 5a2106caa4
6 changed files with 118 additions and 97 deletions

View File

@@ -19,6 +19,7 @@ module.exports.get = () => ({
.setCookie('token', token, {
domain: domain,
httpOnly: true,
maxAge: 604800, // seconds, not milliseconds
path: '/',
sameSite: true,
secure: false,