mirror of
https://github.com/glanceapp/glance.git
synced 2024-12-14 17:13:11 +03:00
Lowercase domains
This commit is contained in:
parent
f30006093d
commit
7c4c1798b6
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user