From ab7e58067573d02b645c8715d2a923d6b9e02cb3 Mon Sep 17 00:00:00 2001 From: altaf-creator <64111012+altaf-creator@users.noreply.github.com> Date: Thu, 4 May 2023 19:38:08 +0700 Subject: PWA Update - attempt 3 --- src/scripts/service-worker.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/scripts/service-worker.js') diff --git a/src/scripts/service-worker.js b/src/scripts/service-worker.js index 7b34e7b..22d8452 100644 --- a/src/scripts/service-worker.js +++ b/src/scripts/service-worker.js @@ -1,5 +1,6 @@ const staticQuran = "quran-all"; const assets = [ + "/", "/index.html", "/src/index.html", "/src/sura.html", @@ -21,7 +22,6 @@ const assets = [ "/src/scripts/quran.js", "/src/scripts/sura-list.js", ]; - self.addEventListener("install", installEvent => { installEvent.waitUntil( caches.open(staticQuran).then(cache => { -- cgit v1.2.3