diff options
Diffstat (limited to 'src/scripts/main.js')
-rw-r--r-- | src/scripts/main.js | 8 |
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) { |