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
path: root/web
diff options
context:
space:
mode:
authorzd <67220210+0zd0@users.noreply.github.com>2025-12-23 17:43:25 +0300
committerGitHub <noreply@github.com>2025-12-23 17:43:25 +0300
commit4c797dc154b2b50f7d2d2bdfd28b7c5e30a78cb4 (patch)
tree7816c33a9b60c7b85ac423f67896d72b3fbcde1a /web
parentf000322a06f78273f48fb354768418c6fd8c3290 (diff)
fix: display of outbound traffic (#3604)
shows the direction of traffic
Diffstat (limited to 'web')
-rw-r--r--web/html/xray.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/html/xray.html b/web/html/xray.html
index 4dacd021..f4d89c84 100644
--- a/web/html/xray.html
+++ b/web/html/xray.html
@@ -527,10 +527,10 @@
findOutboundTraffic(o) {
for (const otraffic of this.outboundsTraffic) {
if (otraffic.tag == o.tag) {
- return SizeFormatter.sizeFormat(otraffic.up) + ' / ' + SizeFormatter.sizeFormat(otraffic.down);
+ return `↑ ${SizeFormatter.sizeFormat(otraffic.up)} / ${SizeFormatter.sizeFormat(otraffic.down)} ↓`
}
}
- return SizeFormatter.sizeFormat(0) + ' / ' + SizeFormatter.sizeFormat(0);
+ return `${SizeFormatter.sizeFormat(0)} / ${SizeFormatter.sizeFormat(0)}`
},
findOutboundAddress(o) {
serverObj = null;