From 55e36ad06a2721cf677b6dffd4d5af611a954f23 Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Wed, 23 May 2018 01:16:05 +0300 Subject: [PATCH] Change name of environment variable to disable TLS verification to match the nheko style --- matrix/matrix.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matrix/matrix.go b/matrix/matrix.go index 29766f8..b11b9ed 100644 --- a/matrix/matrix.go +++ b/matrix/matrix.go @@ -95,7 +95,7 @@ func (c *Container) InitClient() error { return err } - allowInsecure := len(os.Getenv("GOMUKS_ALLOW_INSECURE_SERVER")) > 0 + allowInsecure := len(os.Getenv("GOMUKS_ALLOW_INSECURE_CONNECTIONS")) > 0 if allowInsecure { c.client.Client = &http.Client{ Transport: &http.Transport{TLSClientConfig: &tls.Config{InsecureSkipVerify: true}},