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