Fix GroupCommonOption

This commit is contained in:
Shtorm
2026-07-18 16:40:04 +03:00
parent 03f2be2ee6
commit dc4170ad6b

View File

@@ -23,9 +23,9 @@ type FallbackOutboundOptions struct {
}
type GroupCommonOption struct {
Outbounds []string `json:"outbounds"`
Providers []string `json:"providers"`
Exclude *badoption.Regexp `json:"exclude,omitempty"`
Include *badoption.Regexp `json:"include,omitempty"`
UseAllProviders bool `json:"use_all_providers,omitempty"`
Outbounds []string `json:"outbounds"`
Providers badoption.Listable[string] `json:"providers,omitempty"`
Exclude *badoption.Regexp `json:"exclude,omitempty"`
Include *badoption.Regexp `json:"include,omitempty"`
UseAllProviders bool `json:"use_all_providers,omitempty"`
}