mirror of
https://github.com/jason5ng32/MyIP.git
synced 2026-11-04 08:55:47 +00:00
The upstream answers 200 with `location: null` for addresses it cannot place (anycast ranges, bogons), so destructuring it and reading `.city` threw and the whole source returned 500. Guard it the way `asn` already was, and export the normalizer so the degraded shape is covered by tests. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>