mirror of
https://codeberg.org/Codeberg/pages-server.git
synced 2026-08-16 17:16:02 +00:00
simplify wildecard logic
This commit is contained in:
committed by
Moritz Marquardt
parent
03881382a4
commit
c89ce83b6b
@@ -233,6 +233,7 @@ func (c *AcmeClient) obtainCert(acmeClient *lego.Client, domains []string, renew
|
||||
defer c.obtainLocks.Delete(name)
|
||||
|
||||
if acmeClient == nil {
|
||||
|
||||
if useDnsProvider {
|
||||
return mockCert(domains[0], "DNS ACME client is not defined", mainDomainSuffix, keyDatabase)
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user