1
0
mirror of https://github.com/taigrr/wtf synced 2025-01-18 04:03:14 -08:00

Merge branch 'proxysupport' of https://github.com/skymeyer/wtf into skymeyer-proxysupport

This commit is contained in:
Chris Cummer 2019-01-22 10:23:17 -08:00
commit ad38cc5856
3 changed files with 3 additions and 0 deletions

View File

@ -79,6 +79,7 @@ func (widget *Widget) Refresh() {
TLSClientConfig: &tls.Config{
InsecureSkipVerify: !verifyServerCertificate,
},
Proxy: http.ProxyFromEnvironment,
},
}

View File

@ -34,6 +34,7 @@ func Create(jenkinsURL string, username string, apiKey string) (*View, error) {
TLSClientConfig: &tls.Config{
InsecureSkipVerify: !verifyServerCertificate,
},
Proxy: http.ProxyFromEnvironment,
},
}
resp, err := httpClient.Do(req)

View File

@ -75,6 +75,7 @@ func jiraRequest(path string) (*http.Response, error) {
TLSClientConfig: &tls.Config{
InsecureSkipVerify: !verifyServerCertificate,
},
Proxy: http.ProxyFromEnvironment,
},
}
resp, err := httpClient.Do(req)