feat: Disable wildcard certificates
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
PapaTutuWawa committed 2024-01-06 15:06:38 +01:00
1 parent 493758f56f
commit e834da3727
1 file changed
+6 -4
+6 -4
View File
@@ -43,20 +43,22 @@ func unlockDomain(domain string) {
}
func buildDomainList(domain, pagesDomain string) []string {
if domain == pagesDomain || strings.HasSuffix(domain, pagesDomain) {
// TODO: For wildcards, we MUST use DNS01
/*if domain == pagesDomain || strings.HasSuffix(domain, pagesDomain) {
return []string{
pagesDomain,
"*." + pagesDomain,
}
}
}*/
return []string{domain}
}
func getDomainKey(domain, pagesDomain string) string {
if domain == pagesDomain || strings.HasSuffix(domain, pagesDomain) {
// TODO: For wildcards, we MUST use DNS01
/*if domain == pagesDomain || strings.HasSuffix(domain, pagesDomain) {
return "*." + pagesDomain
}
}*/
return domain
}