Read test host from env variable
Signed-off-by: Max Ehrlich <max.ehr@gmail.com>
This commit is contained in:
parent
80a9e7bf03
commit
240828b272
@ -16,6 +16,7 @@ var (
|
||||
func init() {
|
||||
acmednsHost = os.Getenv("ACME_DNS_HOST")
|
||||
acmednsAccountsJson = []byte(os.Getenv("ACME_DNS_ACCOUNTS_JSON"))
|
||||
acmednsDomain = os.Getenv("ACME_DNS_DOMAIN")
|
||||
if len(acmednsHost) > 0 && len(acmednsAccountsJson) > 0 {
|
||||
acmednsLiveTest = true
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user