mirror of
https://github.com/wukko/cobalt.git
synced 2025-06-12 13:17:45 +02:00
api: add API_REDIS_URL
env
This commit is contained in:
@ -44,6 +44,7 @@
|
||||
"zod": "^3.23.8"
|
||||
},
|
||||
"optionalDependencies": {
|
||||
"freebind": "^0.2.2"
|
||||
"freebind": "^0.2.2",
|
||||
"redis": "^4.7.0"
|
||||
}
|
||||
}
|
||||
|
@ -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,
|
||||
|
||||
|
Reference in New Issue
Block a user