From 2f033c8e010dd1becd2e651317baaefa533a55ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=94=D0=BC=D0=B8=D1=82=D1=80=D0=B8=D0=B9=20=D0=A1=D0=B0?= =?UTF-8?q?=D0=B5=D0=BD=D0=BA=D0=BE?= Date: Tue, 21 Oct 2025 09:05:17 +0300 Subject: [PATCH] =?UTF-8?q?0.1.1=20=D0=B8=D1=81=D0=BF=D1=80=D0=B0=D0=B2?= =?UTF-8?q?=D0=B8=D0=BB=20bug=20=D1=81=20basPath?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- version | 1 + web/html/servers.html | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) create mode 100644 version 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();