diff --git a/src/views/index.html b/src/views/index.html
index 8f3c029..db9ad58 100644
--- a/src/views/index.html
+++ b/src/views/index.html
@@ -120,7 +120,7 @@
}
window.http = axios.create({
- baseURL: {{ .AppHost }}
+ baseURL: `${window.location.protocol}//${window.locaation.hostname}`
});
{{ if isEnableBasicAuth .BasicAuthToken }}
window.http.defaults.headers.common['Authorization'] = {{ .BasicAuthToken }};
@@ -226,4 +226,4 @@
}).mount('#app')