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

fix: ipv6 geoip init

This commit is contained in:
zu1k 2021-08-12 06:14:27 +08:00
parent ccd38185a6
commit 4386b97d15

View File

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