improve proxy

This commit is contained in:
2022-05-02 11:36:24 -04:00
parent 50101c12b8
commit d284956268
5 changed files with 69 additions and 9 deletions

View File

@ -65,6 +65,10 @@ func ParseConfig(configPath string) (*Config, error) {
}
}
if c.TelegramProxy == "NONE" {
c.TelegramProxy = ""
}
for i, _ := range c.Feeds {
feedCfg := &c.Feeds[i]
if feedCfg.Proxy == "NONE" {