diff options
Diffstat (limited to 'networkQuality.go')
| -rw-r--r-- | networkQuality.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/networkQuality.go b/networkQuality.go index 16b9550..d450bf4 100644 --- a/networkQuality.go +++ b/networkQuality.go @@ -89,7 +89,9 @@ type Config struct { } func (c *Config) Get(configHost string, configPath string) error { - configClient := &http.Client{} + configTransport := http2.Transport{} + configTransport.TLSClientConfig = &tls.Config{InsecureSkipVerify: true} + configClient := &http.Client{Transport: &configTransport} // Extraneous /s in URLs is normally okay, but the Apple CDN does not // like them. Make sure that we put exactly one (1) / between the host // and the path. |
