mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2026-03-03 04:09:53 +00:00
chore: Cleanup unused GeoSite matchers
This commit is contained in:
@@ -33,12 +33,11 @@ func SetLoader(newLoader string) {
|
||||
|
||||
func SetSiteMatcher(newMatcher string) {
|
||||
switch newMatcher {
|
||||
case "hybrid":
|
||||
newMatcher = "mph"
|
||||
case "mph", "hybrid":
|
||||
geoSiteMatcher = "mph"
|
||||
default:
|
||||
newMatcher = "succinct"
|
||||
geoSiteMatcher = "succinct"
|
||||
}
|
||||
geoSiteMatcher = newMatcher
|
||||
}
|
||||
|
||||
func Verify(name string) error {
|
||||
|
||||
Reference in New Issue
Block a user