mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-10 23:45:48 +01:00
🐛 fix default favicon path (#492)
This commit is contained in:
@@ -9,7 +9,7 @@
|
|||||||
},
|
},
|
||||||
"favicon": {
|
"favicon": {
|
||||||
"label": "Favicon",
|
"label": "Favicon",
|
||||||
"placeholder": "/favicon.png"
|
"placeholder": "/imgs/favicon/favicon.png"
|
||||||
},
|
},
|
||||||
"background": {
|
"background": {
|
||||||
"label": "Baggrund",
|
"label": "Baggrund",
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
},
|
},
|
||||||
"favicon": {
|
"favicon": {
|
||||||
"label": "Favicon",
|
"label": "Favicon",
|
||||||
"placeholder": "/favicon.png"
|
"placeholder": "/imgs/favicon/favicon.png"
|
||||||
},
|
},
|
||||||
"background": {
|
"background": {
|
||||||
"label": "Hintergrund",
|
"label": "Hintergrund",
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
},
|
},
|
||||||
"favicon": {
|
"favicon": {
|
||||||
"label": "Favicon",
|
"label": "Favicon",
|
||||||
"placeholder": "/favicon.png"
|
"placeholder": "/imgs/favicon/favicon.png"
|
||||||
},
|
},
|
||||||
"background": {
|
"background": {
|
||||||
"label": "Background",
|
"label": "Background",
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
},
|
},
|
||||||
"favicon": {
|
"favicon": {
|
||||||
"label": "Favicon",
|
"label": "Favicon",
|
||||||
"placeholder": "/favicon.png"
|
"placeholder": "/imgs/favicon/favicon.png"
|
||||||
},
|
},
|
||||||
"background": {
|
"background": {
|
||||||
"label": "Fondo",
|
"label": "Fondo",
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
},
|
},
|
||||||
"favicon": {
|
"favicon": {
|
||||||
"label": "Favicon",
|
"label": "Favicon",
|
||||||
"placeholder": "/favicon.png"
|
"placeholder": "/imgs/favicon/favicon.png"
|
||||||
},
|
},
|
||||||
"background": {
|
"background": {
|
||||||
"label": "Contexte",
|
"label": "Contexte",
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
},
|
},
|
||||||
"favicon": {
|
"favicon": {
|
||||||
"label": "אייקון לצד שם העמוד",
|
"label": "אייקון לצד שם העמוד",
|
||||||
"placeholder": "/favicon.png"
|
"placeholder": "/imgs/favicon/favicon.png"
|
||||||
},
|
},
|
||||||
"background": {
|
"background": {
|
||||||
"label": "רקע",
|
"label": "רקע",
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
},
|
},
|
||||||
"favicon": {
|
"favicon": {
|
||||||
"label": "Favicon",
|
"label": "Favicon",
|
||||||
"placeholder": "/favicon.png"
|
"placeholder": "/imgs/favicon/favicon.png"
|
||||||
},
|
},
|
||||||
"background": {
|
"background": {
|
||||||
"label": "Sfondo",
|
"label": "Sfondo",
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
},
|
},
|
||||||
"favicon": {
|
"favicon": {
|
||||||
"label": "ファビコン",
|
"label": "ファビコン",
|
||||||
"placeholder": "/favicon.png"
|
"placeholder": "/imgs/favicon/favicon.png"
|
||||||
},
|
},
|
||||||
"background": {
|
"background": {
|
||||||
"label": "背景",
|
"label": "背景",
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
},
|
},
|
||||||
"favicon": {
|
"favicon": {
|
||||||
"label": "파비콘",
|
"label": "파비콘",
|
||||||
"placeholder": "/favicon.png"
|
"placeholder": "/imgs/favicon/favicon.png"
|
||||||
},
|
},
|
||||||
"background": {
|
"background": {
|
||||||
"label": "배경",
|
"label": "배경",
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
},
|
},
|
||||||
"favicon": {
|
"favicon": {
|
||||||
"label": "Favicon",
|
"label": "Favicon",
|
||||||
"placeholder": "/favicon.png"
|
"placeholder": "/imgs/favicon/favicon.png"
|
||||||
},
|
},
|
||||||
"background": {
|
"background": {
|
||||||
"label": "Bakground",
|
"label": "Bakground",
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
},
|
},
|
||||||
"favicon": {
|
"favicon": {
|
||||||
"label": "Favicon",
|
"label": "Favicon",
|
||||||
"placeholder": "/favicon.png"
|
"placeholder": "/imgs/favicon/favicon.png"
|
||||||
},
|
},
|
||||||
"background": {
|
"background": {
|
||||||
"label": "Achtergrond",
|
"label": "Achtergrond",
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
},
|
},
|
||||||
"favicon": {
|
"favicon": {
|
||||||
"label": "Ikona",
|
"label": "Ikona",
|
||||||
"placeholder": "/favicon.png"
|
"placeholder": "/imgs/favicon/favicon.png"
|
||||||
},
|
},
|
||||||
"background": {
|
"background": {
|
||||||
"label": "Tło",
|
"label": "Tło",
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
},
|
},
|
||||||
"favicon": {
|
"favicon": {
|
||||||
"label": "Favicon",
|
"label": "Favicon",
|
||||||
"placeholder": "/favicon.png"
|
"placeholder": "/imgs/favicon/favicon.png"
|
||||||
},
|
},
|
||||||
"background": {
|
"background": {
|
||||||
"label": "Ozadje",
|
"label": "Ozadje",
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
},
|
},
|
||||||
"favicon": {
|
"favicon": {
|
||||||
"label": "Favicon",
|
"label": "Favicon",
|
||||||
"placeholder": "/favicon.png"
|
"placeholder": "/imgs/favicon/favicon.png"
|
||||||
},
|
},
|
||||||
"background": {
|
"background": {
|
||||||
"label": "Bakgrund",
|
"label": "Bakgrund",
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
},
|
},
|
||||||
"favicon": {
|
"favicon": {
|
||||||
"label": "Іконка",
|
"label": "Іконка",
|
||||||
"placeholder": "/favicon.png"
|
"placeholder": "/imgs/favicon/favicon.png"
|
||||||
},
|
},
|
||||||
"background": {
|
"background": {
|
||||||
"label": "Фон",
|
"label": "Фон",
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
},
|
},
|
||||||
"favicon": {
|
"favicon": {
|
||||||
"label": "网站图标",
|
"label": "网站图标",
|
||||||
"placeholder": "/favicon.png"
|
"placeholder": "/imgs/favicon/favicon.png"
|
||||||
},
|
},
|
||||||
"background": {
|
"background": {
|
||||||
"label": "背景",
|
"label": "背景",
|
||||||
|
|||||||
@@ -83,7 +83,7 @@ function MatchService(name: string, form: any) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
const DEFAULT_ICON = '/favicon.png';
|
const DEFAULT_ICON = '/imgs/favicon/favicon.png';
|
||||||
|
|
||||||
interface AddAppShelfItemFormProps {
|
interface AddAppShelfItemFormProps {
|
||||||
setOpened: (b: boolean) => void;
|
setOpened: (b: boolean) => void;
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ async function MatchIcon(name: string) {
|
|||||||
.replace(/\s+/g, '-')
|
.replace(/\s+/g, '-')
|
||||||
.toLowerCase()}.png`
|
.toLowerCase()}.png`
|
||||||
);
|
);
|
||||||
return res.ok ? res.url : '/favicon.png';
|
return res.ok ? res.url : '/imgs/favicon/favicon.png';
|
||||||
}
|
}
|
||||||
|
|
||||||
function tryMatchType(imageName: string): ServiceType {
|
function tryMatchType(imageName: string): ServiceType {
|
||||||
|
|||||||
Reference in New Issue
Block a user