diff options
| author | zd <67220210+0zd0@users.noreply.github.com> | 2025-12-23 17:43:25 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-12-23 17:43:25 +0300 |
| commit | 4c797dc154b2b50f7d2d2bdfd28b7c5e30a78cb4 (patch) | |
| tree | 7816c33a9b60c7b85ac423f67896d72b3fbcde1a /web | |
| parent | f000322a06f78273f48fb354768418c6fd8c3290 (diff) | |
fix: display of outbound traffic (#3604)
shows the direction of traffic
Diffstat (limited to 'web')
| -rw-r--r-- | web/html/xray.html | 4 |
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; |
