Lowercase domains

This commit is contained in:
Svilen Markov 2024-05-09 04:49:42 +01:00
parent f30006093d
commit 7c4c1798b6

View File

@ -28,7 +28,7 @@ func extractDomainFromUrl(u string) string {
return ""
}
return strings.TrimPrefix(parsed.Host, "www.")
return strings.TrimPrefix(strings.ToLower(parsed.Host), "www.")
}
func SvgPolylineCoordsFromYValues(width float64, height float64, values []float64) string {