1
0
mirror of https://github.com/zu1k/nali.git synced 2025-01-22 13:19:02 +08:00

fix: ipv6 geoip init

This commit is contained in:
zu1k 2021-08-12 06:14:27 +08:00
parent bf5c917155
commit ebb97d662c

View File

@ -65,7 +65,7 @@ func GetDB(typ dbif.QueryType) (db dbif.DB) {
if Language == "zh-CN" {
db = zxipv6wry.NewZXwry(ZXIPv6WryPath)
} else {
geoip.NewGeoIP(GeoLite2CityPath)
db = geoip.NewGeoIP(GeoLite2CityPath)
}
}
case dbif.TypeDomain: