🐛 fix default favicon path (#492)

This commit is contained in:
Manuel
2022-10-31 17:36:45 +01:00
committed by GitHub
parent 14920d4b57
commit 3cfeac4678
18 changed files with 18 additions and 18 deletions

View File

@@ -9,7 +9,7 @@
},
"favicon": {
"label": "Favicon",
"placeholder": "/favicon.png"
"placeholder": "/imgs/favicon/favicon.png"
},
"background": {
"label": "Baggrund",

View File

@@ -9,7 +9,7 @@
},
"favicon": {
"label": "Favicon",
"placeholder": "/favicon.png"
"placeholder": "/imgs/favicon/favicon.png"
},
"background": {
"label": "Hintergrund",

View File

@@ -9,7 +9,7 @@
},
"favicon": {
"label": "Favicon",
"placeholder": "/favicon.png"
"placeholder": "/imgs/favicon/favicon.png"
},
"background": {
"label": "Background",

View File

@@ -9,7 +9,7 @@
},
"favicon": {
"label": "Favicon",
"placeholder": "/favicon.png"
"placeholder": "/imgs/favicon/favicon.png"
},
"background": {
"label": "Fondo",

View File

@@ -9,7 +9,7 @@
},
"favicon": {
"label": "Favicon",
"placeholder": "/favicon.png"
"placeholder": "/imgs/favicon/favicon.png"
},
"background": {
"label": "Contexte",

View File

@@ -9,7 +9,7 @@
},
"favicon": {
"label": "אייקון לצד שם העמוד",
"placeholder": "/favicon.png"
"placeholder": "/imgs/favicon/favicon.png"
},
"background": {
"label": "רקע",

View File

@@ -9,7 +9,7 @@
},
"favicon": {
"label": "Favicon",
"placeholder": "/favicon.png"
"placeholder": "/imgs/favicon/favicon.png"
},
"background": {
"label": "Sfondo",

View File

@@ -9,7 +9,7 @@
},
"favicon": {
"label": "ファビコン",
"placeholder": "/favicon.png"
"placeholder": "/imgs/favicon/favicon.png"
},
"background": {
"label": "背景",

View File

@@ -9,7 +9,7 @@
},
"favicon": {
"label": "파비콘",
"placeholder": "/favicon.png"
"placeholder": "/imgs/favicon/favicon.png"
},
"background": {
"label": "배경",

View File

@@ -9,7 +9,7 @@
},
"favicon": {
"label": "Favicon",
"placeholder": "/favicon.png"
"placeholder": "/imgs/favicon/favicon.png"
},
"background": {
"label": "Bakground",

View File

@@ -9,7 +9,7 @@
},
"favicon": {
"label": "Favicon",
"placeholder": "/favicon.png"
"placeholder": "/imgs/favicon/favicon.png"
},
"background": {
"label": "Achtergrond",

View File

@@ -9,7 +9,7 @@
},
"favicon": {
"label": "Ikona",
"placeholder": "/favicon.png"
"placeholder": "/imgs/favicon/favicon.png"
},
"background": {
"label": "Tło",

View File

@@ -9,7 +9,7 @@
},
"favicon": {
"label": "Favicon",
"placeholder": "/favicon.png"
"placeholder": "/imgs/favicon/favicon.png"
},
"background": {
"label": "Ozadje",

View File

@@ -9,7 +9,7 @@
},
"favicon": {
"label": "Favicon",
"placeholder": "/favicon.png"
"placeholder": "/imgs/favicon/favicon.png"
},
"background": {
"label": "Bakgrund",

View File

@@ -9,7 +9,7 @@
},
"favicon": {
"label": "Іконка",
"placeholder": "/favicon.png"
"placeholder": "/imgs/favicon/favicon.png"
},
"background": {
"label": "Фон",

View File

@@ -9,7 +9,7 @@
},
"favicon": {
"label": "网站图标",
"placeholder": "/favicon.png"
"placeholder": "/imgs/favicon/favicon.png"
},
"background": {
"label": "背景",

View File

@@ -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;

View File

@@ -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 {