Skip to content

Commit

Permalink
Merge 'bitly/pull/651' (ssl-insecure-skip-verify DefaultTransport)
Browse files Browse the repository at this point in the history
  • Loading branch information
ploxiln committed Nov 22, 2018
2 parents d9c7986 + 7f05fe9 commit fa1ac03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion options.go
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ func (o *Options) Validate() error {
insecureTransport := &http.Transport{
TLSClientConfig: &tls.Config{InsecureSkipVerify: true},
}
http.DefaultClient = &http.Client{Transport: insecureTransport}
http.DefaultTransport = insecureTransport
}

msgs := make([]string, 0)
Expand Down

0 comments on commit fa1ac03

Please sign in to comment.