improve proxy
This commit is contained in:
@ -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" {
|
||||
|
Reference in New Issue
Block a user