api: add API_REDIS_URL env

This commit is contained in:
jj
2024-10-30 18:59:20 +00:00
parent 0508c2305c
commit 5e92b649a3
4 changed files with 102 additions and 1 deletions

View File

@ -45,6 +45,7 @@ const env = {
apiKeyURL: process.env.API_KEY_URL && new URL(process.env.API_KEY_URL),
authRequired: process.env.API_AUTH_REQUIRED === '1',
redisURL: process.env.API_REDIS_URL,
keyReloadInterval: 900,