mirror of
https://github.com/glanceapp/glance.git
synced 2025-01-25 23:58:46 +01:00
Change simple icons provider and always use latest version
This commit is contained in:
parent
ef24680baf
commit
804cf9916b
@ -162,7 +162,7 @@ func toSimpleIconIfPrefixed(icon string) (string, bool) {
|
||||
}
|
||||
|
||||
icon = strings.TrimPrefix(icon, "si:")
|
||||
icon = "https://cdnjs.cloudflare.com/ajax/libs/simple-icons/11.14.0/" + 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