mirror of
https://github.com/azukaar/Cosmos-Server.git
synced 2026-05-13 23:29:19 -05:00
[release] v0.15.7-unstable2
This commit is contained in:
@@ -208,10 +208,10 @@ func DoLetsEncrypt() (string, string) {
|
||||
|
||||
domainsDirty := GetAllHostnames(true, true)
|
||||
domains := []string{}
|
||||
|
||||
|
||||
// remove ips
|
||||
for i := 0; i < len(domains); i++ {
|
||||
if !IsIP(domains[i]) {
|
||||
for i := 0; i < len(domainsDirty); i++ {
|
||||
if IsDomain(domains[i]) {
|
||||
domains = append(domains, domains[i])
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user