diff --git a/client.go b/client.go index 4598de7..1720058 100644 --- a/client.go +++ b/client.go @@ -86,6 +86,7 @@ func NewClient(config Config) Client { contentType: ContentTypeApplicationJSON, httpClient: &http.Client{ Timeout: 30 * time.Second, + Proxy: http.ProxyFromEnvironment, Transport: &http.Transport{ TLSClientConfig: &tls.Config{ InsecureSkipVerify: config.Insecure,