mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-18 16:01:05 +00:00
Merge pull request #2104 from flaccid/patch-1
use of ProxyFromEnvironment for bitbucketserver
This commit is contained in:
commit
547514348d
1 changed files with 1 additions and 0 deletions
|
@ -233,6 +233,7 @@ func CreateConsumer(URL string, ConsumerKey string, PrivateKey *rsa.PrivateKey)
|
||||||
consumer.HttpClient = &http.Client{
|
consumer.HttpClient = &http.Client{
|
||||||
Transport: &http.Transport{
|
Transport: &http.Transport{
|
||||||
TLSClientConfig: &tls.Config{InsecureSkipVerify: true},
|
TLSClientConfig: &tls.Config{InsecureSkipVerify: true},
|
||||||
|
Proxy: http.ProxyFromEnvironment,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
return consumer
|
return consumer
|
||||||
|
|
Loading…
Reference in a new issue