Commit 0b4cc67f authored by Lukas Burgey's avatar Lukas Burgey
Browse files

Reactivate certificate check

parent bb8f4418
package main
import (
"crypto/tls"
"encoding/json"
"fmt"
"io/ioutil"
......@@ -62,11 +61,7 @@ const (
)
var (
// TODO fix certs
tr = &http.Transport{
TLSClientConfig: &tls.Config{InsecureSkipVerify: true},
}
client = &http.Client{Transport: tr}
client = &http.Client{}
)
func failOnError(err error, msg string) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment