mirror of
https://github.com/BradNut/boredgame
synced 2025-09-08 17:40:22 +00:00
Fix retrieve redis URL.
This commit is contained in:
parent
d66e7dda08
commit
8cfb958832
1 changed files with 1 additions and 1 deletions
|
|
@ -5,7 +5,7 @@ import { config } from '../common/config'
|
|||
export const RedisProvider = Symbol('REDIS_TOKEN')
|
||||
export type RedisProvider = RedisClient
|
||||
container.register<RedisProvider>(RedisProvider, {
|
||||
useValue: new RedisClient(config.REDIS_URL, {
|
||||
useValue: new RedisClient(config.redis.url, {
|
||||
maxRetriesPerRequest: null,
|
||||
}),
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in a new issue