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, 3 insertions, 1 deletions
diff --git a/src/scripts/main.js b/src/scripts/main.js
index 96210b1..d0f11f5 100644
--- a/src/scripts/main.js
+++ b/src/scripts/main.js
@@ -1,3 +1,4 @@
+/* Not working, making load time longer, revisit later.
function urlExists(url) {
var http = new XMLHttpRequest();
http.open('HEAD', url, false);
@@ -21,4 +22,5 @@ if ("serviceWorker" in navigator) {
.catch(err => console.log("service worker not registered", err))
}
})
-} \ No newline at end of file
+}
+*/ \ No newline at end of file