mirror of
https://github.com/glanceapp/glance.git
synced 2025-02-23 22:01:09 +01:00
Fix simple icons URL
This commit is contained in:
parent
72f78f1c8d
commit
bc8f17393a
@ -183,7 +183,7 @@ func toSimpleIconIfPrefixed(icon string) (string, bool) {
|
||||
}
|
||||
|
||||
icon = strings.TrimPrefix(icon, "si:")
|
||||
icon = "https://cdn.jsdelivr.net/npm/simple-icons@latest/" + icon + ".svg"
|
||||
icon = "https://cdn.jsdelivr.net/npm/simple-icons@latest/icons/" + icon + ".svg"
|
||||
|
||||
return icon, true
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user