Update bypass action behavior for auto redirect

This commit is contained in:
世界
2026-01-17 05:48:41 +08:00
parent 95ccb837d3
commit 494990f914
11 changed files with 75 additions and 29 deletions
-3
View File
@@ -93,9 +93,6 @@ func (r *RuleAction) UnmarshalJSON(data []byte) error {
if err != nil {
return err
}
if r.Action == C.RuleActionTypeBypass && r.BypassOptions.Outbound == "" {
return E.New("missing outbound for bypass action")
}
return nil
}