feat: 高精度离线GeoIP — MMDB支持 + 中文路径修复 + 分块自解压
- geoip.py: 修复中文路径 str()→Path 编码问题 (maxminddb Latin-1 bug) - geoip.py: 启动自动重组geoip_chunks分块 + gunzip解压 - scripts/setup_geoip.py: 手动重组/解压脚本 - .gitignore: 忽略解压后的 .mmdb 文件 Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -18,6 +18,9 @@ runtime/
|
||||
*.sqlite3-wal
|
||||
*.sqlite3-shm
|
||||
|
||||
# GeoIP MMDB (decompressed — .gz versions are tracked)
|
||||
*.mmdb
|
||||
|
||||
# Logs
|
||||
logs/
|
||||
*.log
|
||||
|
||||
Reference in New Issue
Block a user