summaryrefslogtreecommitdiff
path: root/src/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'src/scripts')
-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) {