3x-ui/web
pwnnex 0acf86a689 xray-setting: pin api routing rule to index 0 on save
when the admin adds a custom outbound (eg vless cascade to a second
server) and a routing rule sending all inbound traffic to it, that
catch-all gets evaluated before the existing api->api rule, so the
panel's internal stats inbound's traffic ends up on the cascade
outbound. the grpc stats query then can't see anything, GetTraffic
returns no inbound/user counters, and every client appears offline
with zero traffic even though the actual proxy path works fine.

before save, find the api rule and move it to the front of
routing.rules. if it's missing entirely, insert a default. other
rules keep their relative order.

closes #4113. probably also fixes the long-standing #2818 where the
documented workaround was "manually move the api rule to the top".
2026-04-28 13:01:32 +03:00
..
assets Fix xhttp xPadding settings missing from generated links (panel + subs) (#4065) 2026-04-21 19:15:51 +02:00
controller Fix blank Xray Settings page from wrapped xrayTemplateConfig (#4059) (#4069) 2026-04-21 20:30:02 +02:00
entity Add SSRF protection (#4044) 2026-04-20 00:18:20 +02:00
global Refactor code and fix linter warnings (#3627) 2026-01-05 05:54:56 +01:00
html sub json fix fragment noises effect 2026-04-21 20:02:39 +02:00
job revert: Disconnect client due to exceeded IP limit (#3948) 2026-04-19 21:52:40 +02:00
locale update dependencies 2026-03-04 13:05:29 +01:00
middleware docs: add comments for all functions 2025-09-20 09:35:50 +02:00
network docs: add comments for all functions 2025-09-20 09:35:50 +02:00
service xray-setting: pin api routing rule to index 0 on save 2026-04-28 13:01:32 +03:00
session v2.9.0 2026-04-20 21:43:49 +02:00
translation feat: Add NordVPN NordLynx (WireGuard) integration (#3827) 2026-04-20 00:41:50 +02:00
websocket fix: enhance WebSocket stability, resolve XHTTP configurations and fix UI loading shifts (#3997) 2026-04-19 21:01:00 +02:00
web.go revert Fix geosite:ru rule (ram leak) 2026-04-21 12:55:16 +02:00