diff options
| author | Alireza Ahmadi <alireza7@gmail.com> | 2023-12-04 22:03:18 +0300 |
|---|---|---|
| committer | Alireza Ahmadi <alireza7@gmail.com> | 2023-12-04 22:03:18 +0300 |
| commit | 3b98550816b7803ca05fee9406f41f487af38d97 (patch) | |
| tree | 65636b5ece8c1de2e10aca9f8bd22fd2093a0d7a | |
| parent | 12dfe8a35f74fc8ffe5cae6664d8e1576c5b3390 (diff) | |
fix wrong api call #1286
| -rw-r--r-- | web/html/xui/inbounds.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/web/html/xui/inbounds.html b/web/html/xui/inbounds.html index 27612917..f6f2ddf9 100644 --- a/web/html/xui/inbounds.html +++ b/web/html/xui/inbounds.html @@ -954,10 +954,10 @@ class: themeSwitcher.currentTheme, okText: '{{ i18n "delete"}}', cancelText: '{{ i18n "cancel"}}', - onOk: () => this.submit(`/xui/inbound/${dbInboundId}/delClient/${clientId}`), + onOk: () => this.submit(`/panel/inbound/${dbInboundId}/delClient/${clientId}`), }); } else { - this.submit(`/xui/inbound/${dbInboundId}/delClient/${clientId}`); + this.submit(`/panel/inbound/${dbInboundId}/delClient/${clientId}`); } }, getClients(protocol, clientSettings) { @@ -1043,10 +1043,10 @@ class: themeSwitcher.currentTheme, okText: '{{ i18n "reset"}}', cancelText: '{{ i18n "cancel"}}', - onOk: () => this.submit('/xui/inbound/' + dbInboundId + '/resetClientTraffic/' + client.email), + onOk: () => this.submit('/panel/inbound/' + dbInboundId + '/resetClientTraffic/' + client.email), }) } else { - this.submit('/xui/inbound/' + dbInboundId + '/resetClientTraffic/' + client.email); + this.submit('/panel/inbound/' + dbInboundId + '/resetClientTraffic/' + client.email); } }, resetAllTraffic() { |
