mirror of
https://github.com/taigrr/wtf
synced 2025-01-18 04:03:14 -08:00
Merge branch 'skymeyer-proxysupport'
This commit is contained in:
commit
83c15e9cb2
@ -79,6 +79,7 @@ func (widget *Widget) Refresh() {
|
|||||||
TLSClientConfig: &tls.Config{
|
TLSClientConfig: &tls.Config{
|
||||||
InsecureSkipVerify: !verifyServerCertificate,
|
InsecureSkipVerify: !verifyServerCertificate,
|
||||||
},
|
},
|
||||||
|
Proxy: http.ProxyFromEnvironment,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -34,6 +34,7 @@ func Create(jenkinsURL string, username string, apiKey string) (*View, error) {
|
|||||||
TLSClientConfig: &tls.Config{
|
TLSClientConfig: &tls.Config{
|
||||||
InsecureSkipVerify: !verifyServerCertificate,
|
InsecureSkipVerify: !verifyServerCertificate,
|
||||||
},
|
},
|
||||||
|
Proxy: http.ProxyFromEnvironment,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
resp, err := httpClient.Do(req)
|
resp, err := httpClient.Do(req)
|
||||||
|
@ -75,6 +75,7 @@ func jiraRequest(path string) (*http.Response, error) {
|
|||||||
TLSClientConfig: &tls.Config{
|
TLSClientConfig: &tls.Config{
|
||||||
InsecureSkipVerify: !verifyServerCertificate,
|
InsecureSkipVerify: !verifyServerCertificate,
|
||||||
},
|
},
|
||||||
|
Proxy: http.ProxyFromEnvironment,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
resp, err := httpClient.Do(req)
|
resp, err := httpClient.Do(req)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user