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:
parent
bf5c917155
commit
ebb97d662c
@ -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