diff --git a/pkg/provider/clash.go b/pkg/provider/clash.go index 8383eb0..a8c4cd0 100644 --- a/pkg/provider/clash.go +++ b/pkg/provider/clash.go @@ -54,7 +54,7 @@ func (c Clash) Provide() string { } if !noNeedFilterCountry { for _, c := range countries { - if strings.HasPrefix(p.BaseInfo().Name, c) { + if strings.Contains(p.BaseInfo().Name, c) { countryOk = true break }