summaryrefslogtreecommitdiff
path: root/src/scripts/service-worker.js
diff options
context:
space:
mode:
authoraltaf-creator <64111012+altaf-creator@users.noreply.github.com>2023-05-07 20:47:29 +0700
committeraltaf-creator <64111012+altaf-creator@users.noreply.github.com>2023-05-07 20:47:29 +0700
commit37a83640e44395cfbbd699846e3c1aa619e460fa (patch)
tree3145f6ad912cbfbd5aaaac4d52d49bf729c2ce09 /src/scripts/service-worker.js
parenta5b7ad95dd34fb6e745bc80c638d5f430b68ac53 (diff)
Removed Service Worker
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