mirror of
https://github.com/shtorm-7/sing-box-extended.git
synced 2026-05-31 00:14:21 +03:00
Update bypass action behavior for auto redirect
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user