Skip to content

Commit

Permalink
Merge pull request #155 from jerCarre/patch-1
Browse files Browse the repository at this point in the history
Update client.go
  • Loading branch information
wrighbr authored Nov 29, 2021
2 parents 54deab2 + fbda2a1 commit 08b4e24
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ func (c *Client) SendRequest(method string, path string, payload interface{}, st

if c.insecure == true {
tr := &http.Transport{
Proxy: http.ProxyFromEnvironment,
TLSClientConfig: &tls.Config{InsecureSkipVerify: true},
}
client = &http.Client{Transport: tr}
Expand Down

0 comments on commit 08b4e24

Please sign in to comment.