aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/components/ConnectivityChecker.vue
diff options
context:
space:
mode:
authorAndreas Waschinski <25221082+waschinski@users.noreply.github.com>2021-07-28 16:13:50 +0200
committerAndreas Waschinski <25221082+waschinski@users.noreply.github.com>2021-07-28 16:13:50 +0200
commitb2062fb60ad2845bcba8a517220ca3637e1a885b (patch)
treed0dce6450034f697618c117383a67af0ac03075d /src/components/ConnectivityChecker.vue
parent4386cd094b4e7869a7fa5aad3a9df9cd1d282021 (diff)
parent35926e1e6e4669e881b8f69003f97752172eb922 (diff)
downloadhomer-b2062fb60ad2845bcba8a517220ca3637e1a885b.tar.gz
homer-b2062fb60ad2845bcba8a517220ca3637e1a885b.tar.zst
homer-b2062fb60ad2845bcba8a517220ca3637e1a885b.zip
Merge remote-tracking branch 'upstream/main' into mealie-service
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;