Change name of environment variable to disable TLS verification to match the nheko style

This commit is contained in:
Tulir Asokan 2018-05-23 01:16:05 +03:00
parent f4066e72c3
commit 55e36ad06a

View File

@ -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}},