mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-10 15:35:55 +01:00
Merge pull request #806 from ajnart/refactor/fix-default-img-paths
♻️ Fix default img paths
This commit is contained in:
@@ -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": {
|
||||
|
||||
@@ -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}
|
||||
/>
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user