chore: Cleanup unused GeoSite matchers

This commit is contained in:
H1JK
2023-12-23 00:05:07 +08:00
parent 59ab4fe745
commit b632575e39
7 changed files with 17 additions and 208 deletions

View File

@@ -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 {