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† authored and GitHub committed 2026-07-09 01:55:47 +02:00 Unverified
1 parent 2c28fa5f48
commit ea24ef0a69
17 files changed
+138 -15

No files matched your search

+3 -1
View File
@@ -1866,7 +1866,9 @@
"edit": "عدل Fake DNS",
"ipPool": "نطاق IP Pool",
"poolSize": "حجم المجموعة"
}
},
"defaultOutbound": "الصادر الافتراضي",
"defaultOutboundDesc": "الحركة التي لا تطابق أي قاعدة توجيه تستخدم هذا الصادر (الأول في القائمة)."
},
"hosts": {
"addHost": "إضافة مضيف",
+3 -1
View File
@@ -1983,7 +1983,9 @@
"edit": "Edit Fake DNS",
"ipPool": "IP Pool Subnet",
"poolSize": "Pool Size"
}
},
"defaultOutbound": "Default Outbound",
"defaultOutboundDesc": "Traffic that does not match any routing rule uses this outbound (Xray uses the first outbound in the list)."
}
},
"tgbot": {
+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",
Loaded 3 of 17 files, more files were not shown because too many files have changed in this diff. Show more