fix use of variable
This commit is contained in:
parent
34b5519d01
commit
be6b426a28
|
@ -726,7 +726,7 @@ func NewContext() {
|
|||
}
|
||||
EnableLetsEncrypt := sec.Key("ENABLE_LETSENCRYPT").MustBool(false)
|
||||
LetsEncryptTOS := sec.Key("LETSENCRYPT_ACCEPTTOS").MustBool(false)
|
||||
if !LetsEncryptTOS {
|
||||
if !LetsEncryptTOS && EnableLetsEncrypt {
|
||||
EnableLetsEncrypt = false
|
||||
}
|
||||
LetsEncryptDirectory = sec.Key("LETSENCRYPT_DIRECTORY").MustString("https")
|
||||
|
|
Loading…
Reference in New Issue
Block a user