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": {
|
||||
"label": "Favicon",
|
||||
"placeholder": "/favicon.png"
|
||||
"placeholder": "/imgs/favicon/favicon.png"
|
||||
},
|
||||
"background": {
|
||||
"label": "Baggrund",
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
},
|
||||
"favicon": {
|
||||
"label": "Favicon",
|
||||
"placeholder": "/favicon.png"
|
||||
"placeholder": "/imgs/favicon/favicon.png"
|
||||
},
|
||||
"background": {
|
||||
"label": "Hintergrund",
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
},
|
||||
"favicon": {
|
||||
"label": "Favicon",
|
||||
"placeholder": "/favicon.png"
|
||||
"placeholder": "/imgs/favicon/favicon.png"
|
||||
},
|
||||
"background": {
|
||||
"label": "Background",
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
},
|
||||
"favicon": {
|
||||
"label": "Favicon",
|
||||
"placeholder": "/favicon.png"
|
||||
"placeholder": "/imgs/favicon/favicon.png"
|
||||
},
|
||||
"background": {
|
||||
"label": "Fondo",
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
},
|
||||
"favicon": {
|
||||
"label": "Favicon",
|
||||
"placeholder": "/favicon.png"
|
||||
"placeholder": "/imgs/favicon/favicon.png"
|
||||
},
|
||||
"background": {
|
||||
"label": "Contexte",
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
},
|
||||
"favicon": {
|
||||
"label": "אייקון לצד שם העמוד",
|
||||
"placeholder": "/favicon.png"
|
||||
"placeholder": "/imgs/favicon/favicon.png"
|
||||
},
|
||||
"background": {
|
||||
"label": "רקע",
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
},
|
||||
"favicon": {
|
||||
"label": "Favicon",
|
||||
"placeholder": "/favicon.png"
|
||||
"placeholder": "/imgs/favicon/favicon.png"
|
||||
},
|
||||
"background": {
|
||||
"label": "Sfondo",
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
},
|
||||
"favicon": {
|
||||
"label": "ファビコン",
|
||||
"placeholder": "/favicon.png"
|
||||
"placeholder": "/imgs/favicon/favicon.png"
|
||||
},
|
||||
"background": {
|
||||
"label": "背景",
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
},
|
||||
"favicon": {
|
||||
"label": "파비콘",
|
||||
"placeholder": "/favicon.png"
|
||||
"placeholder": "/imgs/favicon/favicon.png"
|
||||
},
|
||||
"background": {
|
||||
"label": "배경",
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
},
|
||||
"favicon": {
|
||||
"label": "Favicon",
|
||||
"placeholder": "/favicon.png"
|
||||
"placeholder": "/imgs/favicon/favicon.png"
|
||||
},
|
||||
"background": {
|
||||
"label": "Bakground",
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
},
|
||||
"favicon": {
|
||||
"label": "Favicon",
|
||||
"placeholder": "/favicon.png"
|
||||
"placeholder": "/imgs/favicon/favicon.png"
|
||||
},
|
||||
"background": {
|
||||
"label": "Achtergrond",
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
},
|
||||
"favicon": {
|
||||
"label": "Ikona",
|
||||
"placeholder": "/favicon.png"
|
||||
"placeholder": "/imgs/favicon/favicon.png"
|
||||
},
|
||||
"background": {
|
||||
"label": "Tło",
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
},
|
||||
"favicon": {
|
||||
"label": "Favicon",
|
||||
"placeholder": "/favicon.png"
|
||||
"placeholder": "/imgs/favicon/favicon.png"
|
||||
},
|
||||
"background": {
|
||||
"label": "Ozadje",
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
},
|
||||
"favicon": {
|
||||
"label": "Favicon",
|
||||
"placeholder": "/favicon.png"
|
||||
"placeholder": "/imgs/favicon/favicon.png"
|
||||
},
|
||||
"background": {
|
||||
"label": "Bakgrund",
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
},
|
||||
"favicon": {
|
||||
"label": "Іконка",
|
||||
"placeholder": "/favicon.png"
|
||||
"placeholder": "/imgs/favicon/favicon.png"
|
||||
},
|
||||
"background": {
|
||||
"label": "Фон",
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
},
|
||||
"favicon": {
|
||||
"label": "网站图标",
|
||||
"placeholder": "/favicon.png"
|
||||
"placeholder": "/imgs/favicon/favicon.png"
|
||||
},
|
||||
"background": {
|
||||
"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 {
|
||||
setOpened: (b: boolean) => void;
|
||||
|
||||
@@ -7,7 +7,7 @@ async function MatchIcon(name: string) {
|
||||
.replace(/\s+/g, '-')
|
||||
.toLowerCase()}.png`
|
||||
);
|
||||
return res.ok ? res.url : '/favicon.png';
|
||||
return res.ok ? res.url : '/imgs/favicon/favicon.png';
|
||||
}
|
||||
|
||||
function tryMatchType(imageName: string): ServiceType {
|
||||
|
||||
Reference in New Issue
Block a user