summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/components/ServerStatus.vue4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/ServerStatus.vue b/src/components/ServerStatus.vue
index cb4c2e6..68f7bd4 100644
--- a/src/components/ServerStatus.vue
+++ b/src/components/ServerStatus.vue
@@ -52,8 +52,8 @@ export default class ServerStatus extends Vue {
localStorage.setItem("serverOnline", this.Online ? "true": "false");
}
} catch (err) {
- // API unreachable (assume it's online anyway)
- this.Online = true;
+ // API unreachable (assume it's offline as you cannot register)
+ this.Online = false;
}
setTimeout(this.getStatus, 8000);