Skip to content

Commit

Permalink
fix: ipv6 geoip init
Browse files Browse the repository at this point in the history
  • Loading branch information
zu1k committed Aug 11, 2021
1 parent 23d3b63 commit c66a12a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/db/db.go
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit c66a12a

Please sign in to comment.