Skip to content

Commit a3a8e30

Browse files
authoredApr 2, 2022
Allow configure HTTP Proxy from env vars (#102)
1 parent bd1e01e commit a3a8e30

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎pkg/proxy/proxy.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ import (
2020

2121
var (
2222
transport = &http.Transport{
23+
Proxy: http.ProxyFromEnvironment,
2324
TLSClientConfig: &tls.Config{InsecureSkipVerify: true},
2425
}
2526
httpClient = &http.Client{

0 commit comments

Comments
 (0)
Please sign in to comment.