fix geoip script and update ips

Signed-off-by: Ronni Skansing <rskansing@gmail.com>
This commit is contained in:
Ronni Skansing
2026-05-28 15:21:53 +02:00
parent b4a48a45f5
commit 25b238d8e6
175 changed files with 7421 additions and 3182 deletions
+4 -4
View File
@@ -22,13 +22,13 @@ const (
// countryData represents the structure from ipverse aggregated.json files
type countryData struct {
Country string `json:"country"`
CountryCode string `json:"country-code"`
DelegationStatus []string `json:"delegation-status"`
Mode string `json:"mode"`
CountryCode string `json:"countryCode"`
DelegationStatus []string `json:"delegationStatus"`
Mode string `json:"exportMode"`
Subnets struct {
IPv4 []string `json:"ipv4"`
IPv6 []string `json:"ipv6"`
} `json:"subnets"`
} `json:"prefixes"`
}
// optimizedData is our simplified format for embedding