diff options
Diffstat (limited to 'app/webtrc.go')
-rw-r--r-- | app/webtrc.go | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/app/webtrc.go b/app/webtrc.go index a2ead21ab..76e173651 100644 --- a/app/webtrc.go +++ b/app/webtrc.go @@ -4,7 +4,6 @@ package app import ( - "crypto/tls" "encoding/base64" "net/http" "strings" @@ -25,9 +24,5 @@ func RevokeWebrtcToken(sessionId string) { rq.Header.Set("Content-Type", "application/json") // we do not care about the response - tr := &http.Transport{ - TLSClientConfig: &tls.Config{InsecureSkipVerify: *utils.Cfg.ServiceSettings.EnableInsecureOutgoingConnections}, - } - httpClient := &http.Client{Transport: tr} - httpClient.Do(rq) + utils.HttpClient().Do(rq) } |