From b0871a6ef650e3776fd0f76799e698c20bed1fd2 Mon Sep 17 00:00:00 2001 From: Hamidreza Ghavami <70919649+hamid-gh98@users.noreply.github.com> Date: Fri, 12 May 2023 22:36:05 +0430 Subject: Change route path '/xui' to '/panel' --- web/html/xui/client_modal.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'web/html/xui/client_modal.html') diff --git a/web/html/xui/client_modal.html b/web/html/xui/client_modal.html index 89175f31..f7faf888 100644 --- a/web/html/xui/client_modal.html +++ b/web/html/xui/client_modal.html @@ -135,7 +135,7 @@ client.email = string; }, async getDBClientIps(email, event) { - const msg = await HttpUtil.post('/xui/inbound/clientIps/' + email); + const msg = await HttpUtil.post('/panel/inbound/clientIps/' + email); if (!msg.success) { return; } @@ -149,7 +149,7 @@ } }, async clearDBClientIps(email) { - const msg = await HttpUtil.post('/xui/inbound/clearClientIps/' + email); + const msg = await HttpUtil.post('/panel/inbound/clearClientIps/' + email); if (!msg.success) { return; } @@ -164,7 +164,7 @@ cancelText: '{{ i18n "cancel"}}', onOk: async () => { iconElement.disabled = true; - const msg = await HttpUtil.postWithModal('/xui/inbound/' + dbInboundId + '/resetClientTraffic/' + email); + const msg = await HttpUtil.postWithModal('/panel/inbound/' + dbInboundId + '/resetClientTraffic/' + email); if (msg.success) { this.clientModal.clientStats.up = 0; this.clientModal.clientStats.down = 0; -- cgit v1.2.3