webhooks: get proxy settings from ini file

closes #7710
This commit is contained in:
bergquist 2017-03-02 13:57:28 +01:00
parent 62eb19a186
commit ee190d57eb

View File

@ -25,6 +25,7 @@ type Webhook struct {
}
var netTransport = &http.Transport{
Proxy: http.ProxyFromEnvironment,
Dial: (&net.Dialer{
Timeout: 30 * time.Second,
}).Dial,