mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2025-11-29 10:52:54 +00:00
0.1.1 исправил bug с basPath
This commit is contained in:
parent
aff23fc0ab
commit
2f033c8e01
2 changed files with 4 additions and 3 deletions
1
version
Normal file
1
version
Normal file
|
|
@ -0,0 +1 @@
|
|||
0.1.1
|
||||
|
|
@ -200,9 +200,9 @@
|
|||
modal.show();
|
||||
},
|
||||
saveServer() {
|
||||
let url = "{{.base_path}}panel/api/servers/add";
|
||||
let url = "/panel/api/servers/add";
|
||||
if (this.modal.server.id) {
|
||||
url = `{{.base_path}}panel/api/servers/update/${this.modal.server.id}`;
|
||||
url = `/panel/api/servers/update/${this.modal.server.id}`;
|
||||
}
|
||||
|
||||
console.log(this.modal.server);
|
||||
|
|
@ -226,7 +226,7 @@
|
|||
return;
|
||||
}
|
||||
axios
|
||||
.post(`{{.base_path}}panel/api/servers/del/${id}`)
|
||||
.post(`/panel/api/servers/del/${id}`)
|
||||
.then((response) => {
|
||||
alert(response.data.msg);
|
||||
this.loadServers();
|
||||
|
|
|
|||
Loading…
Reference in a new issue