Prepend baseURL to favicon.ico

This commit is contained in:
Riyyi
2025-04-07 20:35:53 +02:00
parent 5aa314e40e
commit f610edf22c
+3
View File
@@ -16,6 +16,9 @@ const store = useStateStore();
store.applyColorMode(); store.applyColorMode();
useHead({ useHead({
link: [
{ rel: "icon", type: "image/x-icon", href: getPublicPath("/favicon.ico") },
],
titleTemplate: (titleChunk: string | undefined): string | null => { titleTemplate: (titleChunk: string | undefined): string | null => {
return titleChunk ? `${titleChunk} - website-vue` : 'website-vue'; return titleChunk ? `${titleChunk} - website-vue` : 'website-vue';
} }