We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 73dff44 + 2161479 commit a2508e0Copy full SHA for a2508e0
1 file changed
util/util.go
@@ -1,6 +1,7 @@
1
package util
2
3
import (
4
+ "crypto/tls"
5
"encoding/json"
6
"fmt"
7
"math"
@@ -176,6 +177,7 @@ func HTTPClient() *http.Client {
176
177
Timeout: 10 * time.Second,
178
}).DialContext,
179
TLSHandshakeTimeout: 10 * time.Second,
180
+ TLSClientConfig: &tls.Config{InsecureSkipVerify: true},
181
}
182
var netClient = &http.Client{
183
Timeout: time.Minute * 2,
0 commit comments