Commit 412b8998 by bergquist

webhooks: get proxy settings from ini file

closes #7710
parent 473513aa
...@@ -25,6 +25,7 @@ type Webhook struct { ...@@ -25,6 +25,7 @@ type Webhook struct {
} }
var netTransport = &http.Transport{ var netTransport = &http.Transport{
Proxy: http.ProxyFromEnvironment,
Dial: (&net.Dialer{ Dial: (&net.Dialer{
Timeout: 30 * time.Second, Timeout: 30 * time.Second,
}).Dial, }).Dial,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment