ASF-admin: gebruik het echte favicon.png van de website als themafavicon

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-07 01:17:31 +01:00
co-authored by Claude Sonnet 5.5
parent c69ef9188e
commit 3b3f132558
4 changed files with 5 additions and 8 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ export function resolveTheme(name: string | undefined, dir: string = THEMES_DIR)
);
}
const favicon = path.join(dir, trimmed, 'favicon.svg');
const favicon = path.join(dir, trimmed, 'favicon.png');
return {
css: path.join(dir, trimmed, 'theme.css'),
favicon: fs.existsSync(favicon) ? favicon : null,