Add http proxy config

This commit is contained in:
jackyzy823
2021-09-30 17:03:07 +01:00
parent 1e1e034237
commit 6aa913ad62
5 changed files with 15 additions and 1 deletions

View File

@@ -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),