mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-26 20:01:02 +00:00
add proxy info
This commit is contained in:
parent
fba4362e61
commit
ea3bdcac79
1 changed files with 1 additions and 0 deletions
|
@ -25,6 +25,7 @@ func NewClient(uri, token string, skipVerify bool) *github.Client {
|
|||
// self-signed certificates.
|
||||
if skipVerify {
|
||||
t.Transport = &http.Transport{
|
||||
Proxy: http.ProxyFromEnvironment,
|
||||
TLSClientConfig: &tls.Config{InsecureSkipVerify: true},
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue