diff options
Diffstat (limited to 'src/components/ConnectivityChecker.vue')
-rw-r--r-- | src/components/ConnectivityChecker.vue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/ConnectivityChecker.vue b/src/components/ConnectivityChecker.vue index 2b3e47b..3066b7d 100644 --- a/src/components/ConnectivityChecker.vue +++ b/src/components/ConnectivityChecker.vue | |||
@@ -56,7 +56,7 @@ export default { | |||
56 | 56 | ||
57 | // extra check to make sure we're not offline | 57 | // extra check to make sure we're not offline |
58 | let that = this; | 58 | let that = this; |
59 | const aliveCheckUrl = window.location.href + "?t=" + new Date().valueOf(); | 59 | const aliveCheckUrl = `${window.location.origin}${window.location.pathname}/index.html?t=${new Date().valueOf()}`; |
60 | return fetch(aliveCheckUrl, { | 60 | return fetch(aliveCheckUrl, { |
61 | method: "HEAD", | 61 | method: "HEAD", |
62 | cache: "no-store", | 62 | cache: "no-store", |