Lowercase domains
This commit is contained in:
parent
f30006093d
commit
7c4c1798b6
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue