diff --git a/build/.DS_Store b/build/.DS_Store deleted file mode 100644 index d36182c..0000000 Binary files a/build/.DS_Store and /dev/null differ diff --git a/core/config.go b/core/config.go index 3227c85..97040af 100644 --- a/core/config.go +++ b/core/config.go @@ -151,6 +151,7 @@ func initConfig() *Config { func (c *Config) setConfig(config Config) { oldProxy := c.UpstreamProxy + openProxy := c.OpenProxy c.Host = config.Host c.Port = config.Port c.Theme = config.Theme @@ -167,7 +168,7 @@ func (c *Config) setConfig(config Config) { c.TaskNumber = config.TaskNumber c.WxAction = config.WxAction c.UseHeaders = config.UseHeaders - if oldProxy != c.UpstreamProxy { + if oldProxy != c.UpstreamProxy || openProxy != c.OpenProxy { proxyOnce.setTransport() }