chore: Update default Geodata URL

This commit is contained in:
H1JK 2023-08-07 14:38:23 +08:00 committed by wwqgtxx
parent ebe33cff18
commit 8c2df79536
2 changed files with 4 additions and 8 deletions

View File

@ -1,10 +1,6 @@
package mmdb
import (
C "github.com/Dreamacro/clash/constant"
"github.com/oschwald/maxminddb-golang"
)
import "github.com/oschwald/maxminddb-golang"
func InstallOverride(override *maxminddb.Reader) {
newReader := Reader{Reader: override}

View File

@ -2,7 +2,7 @@ package constant
var (
GeodataMode bool
GeoIpUrl = "https://testingcf.jsdelivr.net/gh/MetaCubeX/meta-rules-dat@release/geoip.dat"
MmdbUrl = "https://testingcf.jsdelivr.net/gh/MetaCubeX/meta-rules-dat@release/country.mmdb"
GeoSiteUrl = "https://testingcf.jsdelivr.net/gh/MetaCubeX/meta-rules-dat@release/geosite.dat"
GeoIpUrl = "https://fastly.jsdelivr.net/gh/MetaCubeX/meta-rules-dat@release/geoip.dat"
MmdbUrl = "https://fastly.jsdelivr.net/gh/MetaCubeX/meta-rules-dat@release/geoip.metadb"
GeoSiteUrl = "https://fastly.jsdelivr.net/gh/MetaCubeX/meta-rules-dat@release/geosite.dat"
)