Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlireza Ahmadi <alireza7@gmail.com>2023-12-04 22:03:18 +0300
committerAlireza Ahmadi <alireza7@gmail.com>2023-12-04 22:03:18 +0300
commit3b98550816b7803ca05fee9406f41f487af38d97 (patch)
tree65636b5ece8c1de2e10aca9f8bd22fd2093a0d7a /web/html/xui/inbounds.html
parent12dfe8a35f74fc8ffe5cae6664d8e1576c5b3390 (diff)
fix wrong api call #1286
Diffstat (limited to 'web/html/xui/inbounds.html')
-rw-r--r--web/html/xui/inbounds.html8
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() {