diff --git a/frontend/public/sw.js b/frontend/public/sw.js index fa7cba04..033d5cee 100644 --- a/frontend/public/sw.js +++ b/frontend/public/sw.js @@ -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', diff --git a/frontend/src/app/layout.tsx b/frontend/src/app/layout.tsx index cd2f63c7..2c564a44 100644 --- a/frontend/src/app/layout.tsx +++ b/frontend/src/app/layout.tsx @@ -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" }], }, };