Fix client example

This commit is contained in:
adnano
2020-09-24 01:43:03 -04:00
parent c6802d9d9a
commit fde295cb25
2 changed files with 11 additions and 2 deletions

View File

@@ -35,7 +35,8 @@ func makeRequest(url string) {
if err != nil {
log.Fatal(err)
}
req.Certificates = append(req.Certificates, cert)
req.TLSConfig.InsecureSkipVerify = true
req.TLSConfig.Certificates = append(req.TLSConfig.Certificates, cert)
resp, err := client.Do(req)
if err != nil {
log.Fatal(err)