mirror of
https://github.com/zedeus/nitter
synced 2026-09-05 22:59:31 +00:00
parent
2422a2b8b7
commit
e183a9c789
3 changed files with 8 additions and 4 deletions
|
|
@ -32,7 +32,9 @@ proc getConfig*(path: string): (Config, parseCfg.Config) =
|
|||
redisHost: cfg.get("Cache", "redisHost", "localhost"),
|
||||
redisPort: cfg.get("Cache", "redisPort", 6379),
|
||||
redisConns: cfg.get("Cache", "redisConnections", 20),
|
||||
redisMaxConns: cfg.get("Cache", "redisMaxConnections", 30)
|
||||
redisMaxConns: cfg.get("Cache", "redisMaxConnections", 30),
|
||||
|
||||
replaceYouTube: cfg.get("Preferences", "replaceYouTube", "piped.kavin.rocks")
|
||||
)
|
||||
|
||||
return (conf, cfg)
|
||||
|
|
|
|||
Loading…
Reference in a new issue