BREAKING CHANGE(deps): upgrade major dependencies, migrate action.target to action.targets (array), adapt to SmartRequest API changes, and add RADIUS server support

This commit is contained in:
2026-02-02 00:36:19 +00:00
parent badabe753a
commit 1a108fa8b7
26 changed files with 1808 additions and 582 deletions

View File

@@ -517,10 +517,10 @@ export class DcRouter {
},
action: {
type: 'forward',
target: route.action.type === 'forward' && route.action.forward ? {
targets: route.action.type === 'forward' && route.action.forward ? [{
host: route.action.forward.host,
port: route.action.forward.port || 25
} : undefined,
}] : undefined,
tls: {
mode: 'passthrough'
}