From 320c4dbbf120e94649d516953857efd7ce9ce9a1 Mon Sep 17 00:00:00 2001 From: altaf-creator <64111012+altaf-creator@users.noreply.github.com> Date: Thu, 4 May 2023 19:53:11 +0700 Subject: PWA Update - attempt 3.3 (i should have used another branch) --- src/scripts/main.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/scripts') 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) { -- cgit v1.2.3