diff --git a/internal/asnexpand/iplocate_db.go b/internal/asnexpand/iplocate_db.go index 6151e33..5e61b90 100644 --- a/internal/asnexpand/iplocate_db.go +++ b/internal/asnexpand/iplocate_db.go @@ -15,9 +15,10 @@ import ( ) // DefaultIPLocateDBURL is the iplocate ip-to-asn CSV database, proxied through -// the artifactapi github remote. The files are Git-LFS, so the /raw/ path +// the artifactapi github remote. Remote proxies are served at +// /api/v1/remote//. The files are Git-LFS, so the /raw/ path // redirects to the LFS media host — artifactapi follows that redirect. -const DefaultIPLocateDBURL = "https://artifactapi.k8s.syd1.au.unkin.net/api/v2/remotes/github/files/iplocate/ip-address-databases/raw/main/ip-to-asn/ip-to-asn.csv.zip" +const DefaultIPLocateDBURL = "https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/github/iplocate/ip-address-databases/raw/main/ip-to-asn/ip-to-asn.csv.zip" // IPLocateDB expands ASNs by reading iplocate's ip-to-asn CSV (CIDR,asn,...). It // downloads and indexes the whole database once, then serves every ASN group