mirror of
https://github.com/zedeus/nitter
synced 2026-09-05 22:59:31 +00:00
Add http proxy config
This commit is contained in:
parent
1e1e034237
commit
6aa913ad62
5 changed files with 15 additions and 1 deletions
|
|
@ -27,6 +27,8 @@ proc getConfig*(path: string): (Config, parseCfg.Config) =
|
|||
base64Media: cfg.get("Config", "base64Media", false),
|
||||
minTokens: cfg.get("Config", "tokenCount", 10),
|
||||
enableRss: cfg.get("Config", "enableRSS", true),
|
||||
proxy: cfg.get("Config", "proxy", ""),
|
||||
proxyAuth: cfg.get("Config", "proxyAuth", ""),
|
||||
|
||||
listCacheTime: cfg.get("Cache", "listMinutes", 120),
|
||||
rssCacheTime: cfg.get("Cache", "rssMinutes", 10),
|
||||
|
|
|
|||
Loading…
Reference in a new issue