1
0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2024-12-12 08:23:48 +02:00

Merge pull request #2104 from flaccid/patch-1

use of ProxyFromEnvironment for bitbucketserver
This commit is contained in:
Brad Rydzewski 2017-07-12 07:31:56 -04:00 committed by GitHub
commit 547514348d

View File

@ -233,6 +233,7 @@ func CreateConsumer(URL string, ConsumerKey string, PrivateKey *rsa.PrivateKey)
consumer.HttpClient = &http.Client{
Transport: &http.Transport{
TLSClientConfig: &tls.Config{InsecureSkipVerify: true},
Proxy: http.ProxyFromEnvironment,
},
}
return consumer