diff options
author | altaf-creator <64111012+altaf-creator@users.noreply.github.com> | 2023-05-04 21:02:09 +0700 |
---|---|---|
committer | altaf-creator <64111012+altaf-creator@users.noreply.github.com> | 2023-05-04 21:02:09 +0700 |
commit | 85ee5701f80c265f069845b840f368bacf6fc5a6 (patch) | |
tree | 94df1bdd87395decf513c2bdfccbfbf6637b9e7a /src/scripts | |
parent | a77cf54dd89e5766ae6112227addcf6d1c93f926 (diff) |
PWA Update - attempt 5
Diffstat (limited to 'src/scripts')
-rw-r--r-- | src/scripts/main.js | 3 |
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; } |