aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/components/ConnectivityChecker.vue
diff options
context:
space:
mode:
authorBastien Wirtz <bastien.wirtz@gmail.com>2022-07-03 21:59:57 +0200
committerBastien Wirtz <bastien.wirtz@gmail.com>2022-07-03 21:59:57 +0200
commit59994bfee8ae2151238e0ba98b84dd04ae3a43a4 (patch)
tree7fdcc986bd006ff212120c58ded4635045d79452 /src/components/ConnectivityChecker.vue
parentb4207f27821617d83e4cf018c169ca3bac30fda1 (diff)
downloadhomer-59994bfee8ae2151238e0ba98b84dd04ae3a43a4.tar.gz
homer-59994bfee8ae2151238e0ba98b84dd04ae3a43a4.tar.zst
homer-59994bfee8ae2151238e0ba98b84dd04ae3a43a4.zip
Fix lint issues
Diffstat (limited to 'src/components/ConnectivityChecker.vue')
-rw-r--r--src/components/ConnectivityChecker.vue4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/components/ConnectivityChecker.vue b/src/components/ConnectivityChecker.vue
index 3066b7d..0e724fc 100644
--- a/src/components/ConnectivityChecker.vue
+++ b/src/components/ConnectivityChecker.vue
@@ -56,7 +56,9 @@ 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.origin}${window.location.pathname}/index.html?t=${new Date().valueOf()}`; 59 const aliveCheckUrl = `${window.location.origin}${
60 window.location.pathname
61 }/index.html?t=${new Date().valueOf()}`;
60 return fetch(aliveCheckUrl, { 62 return fetch(aliveCheckUrl, {
61 method: "HEAD", 63 method: "HEAD",
62 cache: "no-store", 64 cache: "no-store",