mirror of
https://github.com/baoweise-bot/aimili-vpngate.git
synced 2026-09-05 23:56:55 +08:00
refactor: consolidate hosting/proxy IP classification and migrate IP type filter to network settings modal
This commit is contained in:
+1
-3
@@ -399,9 +399,7 @@ def enrich_ip_info(nodes: list[dict[str, Any]]) -> None:
|
||||
ip_type = "residential"
|
||||
if item.get("mobile"):
|
||||
ip_type = "mobile"
|
||||
elif item.get("proxy"):
|
||||
ip_type = "proxy"
|
||||
elif item.get("hosting"):
|
||||
elif item.get("hosting") or item.get("proxy"):
|
||||
ip_type = "hosting"
|
||||
|
||||
quality = "normal"
|
||||
|
||||
Reference in New Issue
Block a user