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.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/scripts/main.js b/src/scripts/main.js
index 8f9bded..c610e83 100644
--- a/src/scripts/main.js
+++ b/src/scripts/main.js
@@ -2,8 +2,7 @@ function urlExists(url) {
var http = new XMLHttpRequest();
http.open('HEAD', url, false);
http.send();
- if (http.status != 200)
- console.log(`${http.status} ${url} `)
+ console.log(`${http.status} ${url} `)
return http.status != 404;
}