feat(xray): default outbound in basic routing (#5815)

* feat(xray): default outbound picker in basic routing

Let panel users choose which outbound handles unmatched traffic by
moving it to the first position in the template outbounds list.

* fix(xray): keep direct/blocked outbounds when changing default

* style(routing): revert incidental whitespace churn

Drop double blank lines and the reformatted function signature so the default-outbound diff stays focused on behavior.
This commit is contained in:
Rouzbeh†
2026-07-09 03:25:47 +03:30
committed by GitHub
parent 2c28fa5f48
commit ea24ef0a69
17 changed files with 138 additions and 15 deletions
+3 -1
View File
@@ -1866,7 +1866,9 @@
"edit": "编辑假 DNS",
"ipPool": "IP 池子网",
"poolSize": "池大小"
}
},
"defaultOutbound": "默认出站",
"defaultOutboundDesc": "未匹配任何路由规则的流量走此出站(列表中的第一个出站)。"
},
"hosts": {
"addHost": "添加主机",