summaryrefslogtreecommitdiff
path: root/src/scripts/main.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/scripts/main.js')
-rw-r--r--src/scripts/main.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/scripts/main.js b/src/scripts/main.js
index becd684..b793fc8 100644
--- a/src/scripts/main.js
+++ b/src/scripts/main.js
@@ -26,6 +26,10 @@ function urlExists(url) {
var http = new XMLHttpRequest();
http.open('HEAD', url, false);
http.send();
+
+ if (http.status != 200)
+ console.log(url)
+
return http.status != 404;
}
if ("serviceWorker" in navigator) {