Improve enableRSS logic
This commit is contained in:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user