Improve enableRSS logic

This commit is contained in:
Zed
2021-12-28 06:21:22 +01:00
parent 9b202e414b
commit 0a8fd2fce2
6 changed files with 10 additions and 7 deletions

View File

@@ -26,7 +26,7 @@ proc getConfig*(path: string): (Config, parseCfg.Config) =
hmacKey: cfg.get("Config", "hmacKey", "secretkey"),
base64Media: cfg.get("Config", "base64Media", false),
minTokens: cfg.get("Config", "tokenCount", 10),
enableRSS: cfg.get("Config", "enableRSS", true),
enableRss: cfg.get("Config", "enableRSS", true),
listCacheTime: cfg.get("Cache", "listMinutes", 120),
rssCacheTime: cfg.get("Cache", "rssMinutes", 10),