mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-08-29 06:27:14 +00:00
feat(node): per node outbound routing (#5275)
* feat: add per-node outbound routing for panel-to-node connections * feat(ui): add outbound tag selector to node form with i18n * fix(xray): avoid potential overflow warning in node egress rule allocation * chore: run "npm run gen" * fix --------- Co-authored-by: Sanaei <ho3ein.sanaei@gmail.com>
This commit is contained in:
@@ -404,6 +404,7 @@ func (s *Server) start(restartXray bool, startTgBot bool) (err error) {
|
||||
APIPort: func() int { return s.xrayService.GetXrayAPIPort() },
|
||||
SetNeedRestart: func() { s.xrayService.SetToNeedRestart() },
|
||||
}))
|
||||
runtime.GetManager().SetNodeEgressResolver(&s.settingService)
|
||||
|
||||
engine, err := s.initRouter()
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user