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.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/scripts/service-worker.js b/src/scripts/service-worker.js
index 4263b47..f7cfcda 100644
--- a/src/scripts/service-worker.js
+++ b/src/scripts/service-worker.js
@@ -1,3 +1,4 @@
+/* Not working, making load time longer, revisit later.
const staticQuran = "quran-all";
const assets = [
"../../",
@@ -41,7 +42,7 @@ self.addEventListener("fetch", fetchEvent => {
)
})
*/
-
+/*
try {
process.versions['electron']
} catch {
@@ -82,4 +83,5 @@ try {
})
);
});
-} \ No newline at end of file
+}
+*/ \ No newline at end of file