mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-14 01:15:47 +01:00
feat: Move to Dashboard Icons
This commit is contained in:
@@ -86,7 +86,7 @@ function MatchIcon(
|
||||
// https://data.jsdelivr.com/v1/package/gh/IceWhaleTech/AppIcon@main
|
||||
// and then iterate over the files -> files -> name and then remove the extension (.png)
|
||||
// Compare it to the input and then fetch the icon
|
||||
fetch(`https://cdn.jsdelivr.net/gh/IceWhaleTech/AppIcon@main/all/${name.toLowerCase()}.png`)
|
||||
fetch(`https://cdn.jsdelivr.net/gh/walkxhub/dashboard-icons/png/${name.toLowerCase()}.png`)
|
||||
.then((res) => {
|
||||
if (res.status === 200) {
|
||||
form.setFieldValue('icon', res.url);
|
||||
|
||||
Reference in New Issue
Block a user