mirror of
https://github.com/tulir/gomuks.git
synced 2025-04-20 10:33:41 -05:00
Change name of environment variable to disable TLS verification to match the nheko style
This commit is contained in:
parent
f4066e72c3
commit
55e36ad06a
1 changed files with 1 additions and 1 deletions
|
@ -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}},
|
||||
|
|
Loading…
Add table
Reference in a new issue