diff options
Diffstat (limited to 'assets')
-rw-r--r-- | assets/js/index.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/assets/js/index.js b/assets/js/index.js index 87cb4b1..0d15055 100644 --- a/assets/js/index.js +++ b/assets/js/index.js @@ -77,7 +77,7 @@ http.send(); } function update() { - const url = self.location.href; + const url = self.location.href.split("#")[0].split("?")[0]; check(url, "HEAD", function(request) { const local = document.querySelector('meta[name="last-modified"]').content; const remote = request.getResponseHeader("last-modified") || local; |