Merge pull request #806 from ajnart/refactor/fix-default-img-paths

♻️ Fix default img paths
This commit is contained in:
Thomas Camlong
2023-04-12 23:52:24 +09:00
committed by GitHub
4 changed files with 4 additions and 4 deletions

View File

@@ -375,7 +375,7 @@
},
"pageTitle": "Homarr v0.11 ⭐️",
"logoImageUrl": "/imgs/logo/logo.png",
"faviconUrl": "/imgs/favicon/favicon-squared",
"faviconUrl": "/imgs/favicon/favicon-squared.png",
"backgroundImageUrl": "",
"customCss": "",
"colors": {

View File

@@ -33,7 +33,7 @@ export const BackgroundChanger = () => {
return (
<TextInput
label={t('background.label')}
placeholder="/imgs/background.png"
placeholder="/imgs/backgrounds/background.png"
value={backgroundImageUrl}
onChange={handleChange}
/>

View File

@@ -9,7 +9,7 @@ export const FaviconChanger = () => {
const updateConfig = useConfigStore((x) => x.updateConfig);
const { config, name: configName } = useConfigContext();
const [faviconUrl, setFaviconUrl] = useState(
config?.settings.customization.faviconUrl ?? '/imgs/favicon/favicon-squared.png'
config?.settings.customization.faviconUrl ?? '/imgs/favicon/favicon.svg'
);
if (!configName) return null;

View File

@@ -20,7 +20,7 @@ export function Head() {
{/* configure apple splash screen & touch icon */}
<link
rel="apple-touch-icon"
href={config?.settings.customization.faviconUrl || '/imgs/favicon/favicon-squared.png'}
href={config?.settings.customization.faviconUrl || '/imgs/favicon/favicon.svg'}
/>
<meta
name="apple-mobile-web-app-title"