diff --git a/src/components/misc/api-config.vue b/src/components/misc/api-config.vue index 4d8eda15..63db7258 100644 --- a/src/components/misc/api-config.vue +++ b/src/components/misc/api-config.vue @@ -67,7 +67,7 @@ export default { }, computed: { apiDomain() { - return parseURL(this.apiUrl).host + return parseURL(this.apiUrl).host || parseURL(window.location.href).host }, }, props: {