Change name of environment variable to disable TLS verification to match the nheko style
This commit is contained in:
parent
f4066e72c3
commit
55e36ad06a
@ -95,7 +95,7 @@ func (c *Container) InitClient() error {
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
allowInsecure := len(os.Getenv("GOMUKS_ALLOW_INSECURE_SERVER")) > 0
|
allowInsecure := len(os.Getenv("GOMUKS_ALLOW_INSECURE_CONNECTIONS")) > 0
|
||||||
if allowInsecure {
|
if allowInsecure {
|
||||||
c.client.Client = &http.Client{
|
c.client.Client = &http.Client{
|
||||||
Transport: &http.Transport{TLSClientConfig: &tls.Config{InsecureSkipVerify: true}},
|
Transport: &http.Transport{TLSClientConfig: &tls.Config{InsecureSkipVerify: true}},
|
||||||
|
Loading…
Reference in New Issue
Block a user