aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/components/ConnectivityChecker.vue
diff options
context:
space:
mode:
authorAndreas Waschinski <25221082+waschinski@users.noreply.github.com>2021-08-08 11:18:46 +0200
committerGitHub <noreply@github.com>2021-08-08 11:18:46 +0200
commita74fa3830232f761bb66c7509e088f7468d5b619 (patch)
tree3d74723467a10a194b481a2d7cf6c1b84bf921c1 /src/components/ConnectivityChecker.vue
parentbebb6953cb1e5b61be000b3f2d76a27256bff3d9 (diff)
parent35926e1e6e4669e881b8f69003f97752172eb922 (diff)
downloadhomer-a74fa3830232f761bb66c7509e088f7468d5b619.tar.gz
homer-a74fa3830232f761bb66c7509e088f7468d5b619.tar.zst
homer-a74fa3830232f761bb66c7509e088f7468d5b619.zip
Merge branch 'main' into patch-1
Diffstat (limited to 'src/components/ConnectivityChecker.vue')
-rw-r--r--src/components/ConnectivityChecker.vue4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/ConnectivityChecker.vue b/src/components/ConnectivityChecker.vue
index d41c443..02cbd7f 100644
--- a/src/components/ConnectivityChecker.vue
+++ b/src/components/ConnectivityChecker.vue
@@ -37,8 +37,8 @@ export default {
37 method: "HEAD", 37 method: "HEAD",
38 cache: "no-store", 38 cache: "no-store",
39 }) 39 })
40 .then(function () { 40 .then(function (response) {
41 that.offline = false; 41 that.offline = !response.ok;
42 }) 42 })
43 .catch(function () { 43 .catch(function () {
44 that.offline = true; 44 that.offline = true;