api/security: jwt session token

This commit is contained in:
wukko
2024-08-16 23:28:03 +06:00
parent 33c2fee847
commit 16acf62886
4 changed files with 110 additions and 19 deletions

View File

@@ -34,6 +34,8 @@ const env = {
externalProxy: process.env.API_EXTERNAL_PROXY,
turnstileSecret: process.env.TURNSTILE_SECRET,
jwtSecret: process.env.JWT_SECRET,
jwtLifetime: process.env.JWT_EXPIRY || 120,
}
export {