forked from mirror/serenity
Fix extra groups
This commit is contained in:
parent
78677c96bf
commit
97bb8fbf09
@ -151,9 +151,9 @@ func (t *Template) renderOutbounds(metadata M.Metadata, options *option.Options,
|
||||
}
|
||||
switch group.Type {
|
||||
case C.TypeSelector:
|
||||
groupOutbound.SelectorOptions.Outbounds = extraTags
|
||||
groupOutbound.SelectorOptions.Outbounds = append(groupOutbound.SelectorOptions.Outbounds, extraTags...)
|
||||
case C.TypeURLTest:
|
||||
groupOutbound.URLTestOptions.Outbounds = extraTags
|
||||
groupOutbound.URLTestOptions.Outbounds = append(groupOutbound.URLTestOptions.Outbounds, extraTags...)
|
||||
}
|
||||
options.Outbounds = append(options.Outbounds, groupOutbound)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user