From 6ed1856049952c8dab2ae6fd0d9b6c8a263d548b Mon Sep 17 00:00:00 2001 From: Matt Hook Date: Thu, 12 Aug 2021 23:37:48 +1200 Subject: [PATCH] fix(git): proxy git requests --- api/git/git.go | 1 + 1 file changed, 1 insertion(+) diff --git a/api/git/git.go b/api/git/git.go index 7887f7d95..519d699a8 100644 --- a/api/git/git.go +++ b/api/git/git.go @@ -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, }