mirror of
https://github.com/glanceapp/glance.git
synced 2025-06-22 02:41:23 +02:00
Lowercase domains
This commit is contained in:
parent
f30006093d
commit
7c4c1798b6
@ -28,7 +28,7 @@ func extractDomainFromUrl(u string) string {
|
|||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
return strings.TrimPrefix(parsed.Host, "www.")
|
return strings.TrimPrefix(strings.ToLower(parsed.Host), "www.")
|
||||||
}
|
}
|
||||||
|
|
||||||
func SvgPolylineCoordsFromYValues(width float64, height float64, values []float64) string {
|
func SvgPolylineCoordsFromYValues(width float64, height float64, values []float64) string {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user