🐛 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": { "favicon": {
"label": "Favicon", "label": "Favicon",
"placeholder": "/favicon.png" "placeholder": "/imgs/favicon/favicon.png"
}, },
"background": { "background": {
"label": "Baggrund", "label": "Baggrund",

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -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",

View File

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

View File

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

View File

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

View File

@@ -9,7 +9,7 @@
}, },
"favicon": { "favicon": {
"label": "网站图标", "label": "网站图标",
"placeholder": "/favicon.png" "placeholder": "/imgs/favicon/favicon.png"
}, },
"background": { "background": {
"label": "背景", "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 { interface AddAppShelfItemFormProps {
setOpened: (b: boolean) => void; setOpened: (b: boolean) => void;

View File

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