From 22db61d4bcebcb2934268aea63ac0704856bc49d Mon Sep 17 00:00:00 2001 From: les Date: Thu, 20 Feb 2020 20:55:06 +0100 Subject: [PATCH] minor --- components/FollowMe.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/components/FollowMe.vue b/components/FollowMe.vue index 0385a124..f7754bf9 100644 --- a/components/FollowMe.vue +++ b/components/FollowMe.vue @@ -41,6 +41,9 @@ export default { }, methods: { getInstanceInfo () { + if (!this.instance_hostname) { + return + } const instance_url = `https://${this.instance_hostname}/api/v1/instance` this.$axios.$get(instance_url) .then(ret => {