fixing frontend path

This commit is contained in:
counter 2023-01-15 21:40:04 -08:00
parent 51f5cd9dd8
commit d408f3708d

View file

@ -114,9 +114,12 @@ export default {
async mounted() {
// For debugging
window.app = this;
const res = await api_request.get_xss_uri();
if (res["success"] == false){
window.location = "/login";
}
// Base domain
this.base_domain = await api_request.get_xss_uri();
this.base_domain = res["result"]["uri"];
},
beforeDestroy() {}
};