mirror of
https://github.com/DI0IK/homepage-plus.git
synced 2025-07-15 01:10:35 +00:00
external icons will come from a mount point
This commit is contained in:
parent
6a234f9a47
commit
7a745ce27f
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ function resolveIcon(icon) {
|
|||
if (icon.startsWith("http")) {
|
||||
return `/api/proxy?url=${encodeURIComponent(icon)}`;
|
||||
} else if (icon.startsWith("/")) {
|
||||
return `/icons${icon}`;
|
||||
return icon;
|
||||
} else {
|
||||
if (icon.endsWith(".png")) {
|
||||
return `https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons/png/${icon}`;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue