From 983cd5004a6b4951f6de1c41807e40b989a7347e Mon Sep 17 00:00:00 2001 From: Matthias Date: Sun, 10 Jan 2021 11:13:35 +0100 Subject: [PATCH] Make login default to the call url --- src/components/Login.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Login.vue b/src/components/Login.vue index 0d2242d00..96e68ce63 100644 --- a/src/components/Login.vue +++ b/src/components/Login.vue @@ -66,7 +66,7 @@ import { setBaseUrl } from '@/shared/apiService'; import { AuthPayload } from '@/types'; -const defaultURL = 'http://localhost:8080'; +const defaultURL = window.location.origin || 'http://localhost:8080'; @Component({}) export default class Login extends Vue {