update the default xdb path

This commit is contained in:
lion 2025-10-24 12:49:00 +08:00
parent 580d1bb431
commit 572aa7b76a
1 changed files with 1 additions and 1 deletions

View File

@ -177,7 +177,7 @@ if __name__ == '__main__':
"192.168.1.1"
]
# 1. 缓存
dbPath = "./data/ip2region.xdb";
dbPath = "./data/ip2region_v4.xdb";
cb = XdbSearcher.loadContentFromFile(dbfile=dbPath)
# 2. 创建查询对象