Compare commits

..
1 Commits
Author SHA1 Message Date
gohumbleandGitHub 23ebc4e65e moved translation 2022-11-03 10:15:19 +01:00
-3
View File
@@ -54,9 +54,6 @@ func GetClient(clientType ClientType) (*http.Client, error) {
if cfg == nil {
return &client, nil
}
if cfg.Host == "" {
return &client, nil
}
proxyURL, _ := url.Parse(cfg.Host)
specialTransport := &http.Transport{}
specialTransport.Proxy = http.ProxyURL(proxyURL)