From ed1e2cd2a86bbd1ca02873ece11267fc7aa0b250 Mon Sep 17 00:00:00 2001 From: Yann Stepienik Date: Wed, 19 Feb 2025 13:22:25 +0000 Subject: [PATCH] [release] v0.18.0-unstable97 --- src/utils/utils.go | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/utils/utils.go b/src/utils/utils.go index a75cace..c1852b2 100644 --- a/src/utils/utils.go +++ b/src/utils/utils.go @@ -540,14 +540,14 @@ func GetAllHostnames(applyWildCard bool, removePorts bool) []string { tempUniqueHostnames := append(wildcards, filterHostnamesByWildcard(othersHostname, wildcards)...) // hardcode wildcard for local domains - if(MainConfig.HTTPConfig.HTTPSCertificateMode == HTTPSCertModeList["SELFSIGNED"]) { - for _, hostname := range tempUniqueHostnames { - if strings.HasSuffix(hostname, ".local") { - tempUniqueHostnames = append(tempUniqueHostnames, "*.local") - break - } - } - } + // if(MainConfig.HTTPConfig.HTTPSCertificateMode == HTTPSCertModeList["SELFSIGNED"]) { + // for _, hostname := range tempUniqueHostnames { + // if strings.HasSuffix(hostname, ".local") { + // tempUniqueHostnames = append(tempUniqueHostnames, "*.local") + // break + // } + // } + // } // dedupe seen = make(map[string]bool)