mirror of
https://github.com/XrayR-project/XrayR.git
synced 2025-06-28 15:19:51 +00:00
fix: fix CF dns env error #51
This commit is contained in:
parent
b37705b374
commit
cbffafbb4c
@ -79,7 +79,7 @@ func (l *LegoCMD) DNSCert(domain, email, provider string, DNSEnv map[string]stri
|
|||||||
}()
|
}()
|
||||||
// Set Env for DNS configuration
|
// Set Env for DNS configuration
|
||||||
for key, value := range DNSEnv {
|
for key, value := range DNSEnv {
|
||||||
os.Setenv(key, value)
|
os.Setenv(strings.ToUpper(key), value)
|
||||||
}
|
}
|
||||||
// First check if the certificate exists
|
// First check if the certificate exists
|
||||||
CertPath, KeyPath, err = checkCertfile(domain)
|
CertPath, KeyPath, err = checkCertfile(domain)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user