mirror of
https://github.com/Xevion/glance.git
synced 2025-12-07 11:15:12 -06:00
Fix simple icons URL
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user