From 3b98550816b7803ca05fee9406f41f487af38d97 Mon Sep 17 00:00:00 2001 From: Alireza Ahmadi Date: Mon, 4 Dec 2023 20:03:18 +0100 Subject: [PATCH] fix wrong api call #1286 --- web/html/xui/inbounds.html | 8 ++++---- 1 file 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() {