diff --git a/src/serviceWorker/cache.ts b/src/serviceWorker/cache.ts index 6ef2ece..8ac6044 100644 --- a/src/serviceWorker/cache.ts +++ b/src/serviceWorker/cache.ts @@ -6,7 +6,13 @@ const getCache = () => caches.open(CACHE); * Caches static files for application */ export const precache = async () => - (await getCache()).addAll(["/", "/index.js", "/sw.js"]); + (await getCache()).addAll([ + "/", + "/index.js", + "/sw.js", + "/manifest.json", + "/favicon.ico", + ]); /** * Requests file from network or gets it from cache if offline