Skip to content

Commit fa3cd66

Browse files
committed
Fix proxy support
1 parent 43c526c commit fa3cd66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,8 @@ func NewClient(config Config) Client {
8686
contentType: ContentTypeApplicationJSON,
8787
httpClient: &http.Client{
8888
Timeout: 30 * time.Second,
89-
Proxy: http.ProxyFromEnvironment,
9089
Transport: &http.Transport{
90+
Proxy: http.ProxyFromEnvironment,
9191
TLSClientConfig: &tls.Config{
9292
InsecureSkipVerify: config.Insecure,
9393
},

0 commit comments

Comments
 (0)