fix: restore compact favicon source usage

This commit is contained in:
lizerk 2026-04-16 20:09:14 +03:00
parent 1ca33268a8
commit 83fe9f4a54
2 changed files with 3 additions and 0 deletions

View File

@ -10,6 +10,7 @@ const SW_VERSION = '2.0.0';
const STATIC_CACHE = `eusrr-static-${SW_VERSION}`;
const PRECACHE_URLS = [
'/manifest.webmanifest',
'/favicon-source.svg',
'/logo.png',
'/logo.webp',
'/icon-192.png',

View File

@ -27,9 +27,11 @@ export const metadata: Metadata = {
},
icons: {
icon: [
{ url: "/favicon-source.svg", type: "image/svg+xml", sizes: "any" },
{ url: "/icon-192.png", sizes: "192x192", type: "image/png" },
{ url: "/icon-512.png", sizes: "512x512", type: "image/png" },
],
shortcut: [{ url: "/favicon-source.svg", type: "image/svg+xml" }],
apple: [{ url: "/apple-touch-icon.png", sizes: "180x180", type: "image/png" }],
},
};