mirror of
https://github.com/ArthurDanjou/artdanj-shortener.git
synced 2026-01-14 15:54:08 +01:00
Change redis db number to env variable
This commit is contained in:
@@ -39,7 +39,7 @@ const redisConfig: RedisConfig = {
|
||||
host: Env.get('REDIS_HOST'),
|
||||
port: Env.get('REDIS_PORT'),
|
||||
password: Env.get('REDIS_PASSWORD', ''),
|
||||
db: 0,
|
||||
db: Env.get('REDIS_DB', 1),
|
||||
keyPrefix: 'linkyjs:',
|
||||
healthCheck: true
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user