fix: restore compact favicon source usage
This commit is contained in:
parent
1ca33268a8
commit
83fe9f4a54
@ -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',
|
||||
|
||||
@ -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" }],
|
||||
},
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user