diff --git a/version b/version new file mode 100644 index 00000000..6da28dde --- /dev/null +++ b/version @@ -0,0 +1 @@ +0.1.1 \ No newline at end of file diff --git a/web/html/servers.html b/web/html/servers.html index 701b54c9..bee7dfc3 100644 --- a/web/html/servers.html +++ b/web/html/servers.html @@ -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();