summaryrefslogtreecommitdiff
path: root/src/scripts/main.js
diff options
context:
space:
mode:
authoraltaf-creator <64111012+altaf-creator@users.noreply.github.com>2023-05-04 19:53:11 +0700
committeraltaf-creator <64111012+altaf-creator@users.noreply.github.com>2023-05-04 19:53:11 +0700
commit320c4dbbf120e94649d516953857efd7ce9ce9a1 (patch)
tree7cf4488add69cf26cf3c9b49db22918debfd53ff /src/scripts/main.js
parent720b32ec4858b6ece1593fb68f5f1354d3af0931 (diff)
PWA Update - attempt 3.3 (i should have used another branch)
Diffstat (limited to 'src/scripts/main.js')
-rw-r--r--src/scripts/main.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/scripts/main.js b/src/scripts/main.js
index b793fc8..4e20f40 100644
--- a/src/scripts/main.js
+++ b/src/scripts/main.js
@@ -17,9 +17,9 @@ const assets = [
"../src/data/id.indonesian.xml",
"../src/data/quran-data.xml",
"../src/data/quran-uthmani.xml",
- "main.js",
- "quran.js",
- "sura-list.js",
+ "../src/scripts/main.js",
+ "../src/scripts/quran.js",
+ "../src/scripts/sura-list.js",
];
function urlExists(url) {
@@ -29,7 +29,7 @@ function urlExists(url) {
if (http.status != 200)
console.log(url)
-
+
return http.status != 404;
}
if ("serviceWorker" in navigator) {