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:
parent
ccd38185a6
commit
4386b97d15
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user