mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2026-02-26 16:57:08 +00:00
feat: Add succinct matcher support for GeoSite
and use it by default
This commit is contained in:
@@ -15,7 +15,7 @@ type GEOSITE struct {
|
||||
*Base
|
||||
country string
|
||||
adapter string
|
||||
matcher *router.DomainMatcher
|
||||
matcher router.DomainMatcher
|
||||
recodeSize int
|
||||
}
|
||||
|
||||
@@ -39,7 +39,7 @@ func (gs *GEOSITE) Payload() string {
|
||||
return gs.country
|
||||
}
|
||||
|
||||
func (gs *GEOSITE) GetDomainMatcher() *router.DomainMatcher {
|
||||
func (gs *GEOSITE) GetDomainMatcher() router.DomainMatcher {
|
||||
return gs.matcher
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user