mirror of
https://github.com/trufflesecurity/xsshunter
synced 2025-02-17 13:58:26 +00:00
fixing frontend path
This commit is contained in:
parent
51f5cd9dd8
commit
d408f3708d
1 changed files with 5 additions and 2 deletions
|
@ -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() {}
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue