fix(git): proxy git requests

pull/5422/head
Matt Hook 2021-08-12 23:37:48 +12:00 committed by GitHub
parent f990617a7e
commit 6ed1856049
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -74,6 +74,7 @@ func NewService() *Service {
httpsCli := &http.Client{
Transport: &http.Transport{
TLSClientConfig: &tls.Config{InsecureSkipVerify: true},
Proxy: http.ProxyFromEnvironment,
},
Timeout: 300 * time.Second,
}