aboutsummaryrefslogtreecommitdiff
path: root/matrix
diff options
context:
space:
mode:
authorTulir Asokan <tulir@maunium.net>2018-05-23 01:16:05 +0300
committerTulir Asokan <tulir@maunium.net>2018-05-23 01:16:14 +0300
commit55e36ad06a2721cf677b6dffd4d5af611a954f23 (patch)
tree2833603b66bacae010c23c75fc8e9dafdd482a03 /matrix
parentf4066e72c3fbd6f246f4e2e1eba280ed02cbbc79 (diff)
Change name of environment variable to disable TLS verification to match the nheko style
Diffstat (limited to 'matrix')
-rw-r--r--matrix/matrix.go2
1 files changed, 1 insertions, 1 deletions
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}},