summaryrefslogtreecommitdiff
path: root/src/scripts/service-worker.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/scripts/service-worker.js')
-rw-r--r--src/scripts/service-worker.js2
1 files changed, 1 insertions, 1 deletions
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 => {