mirror of
https://github.com/zu1k/nali.git
synced 2025-01-23 05:39:03 +08:00
fix: ipv6 geoip init
This commit is contained in:
parent
ccd38185a6
commit
4386b97d15
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user