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": "Editar DNS Falso",
"ipPool": "Subred del grupo de IP",
"poolSize": "Tamaño del grupo"
}
},
"defaultOutbound": "Salida predeterminada",
"defaultOutboundDesc": "El tráfico que no coincide con ninguna regla de enrutamiento usa esta salida (la primera de la lista)."
},
"hosts": {
"addHost": "Agregar host",