Files
MyIP/api
jason5ng32andClaude Opus 5 30a3250faf Fix(api): Tolerate missing optional fields from ipinfo.io
Upstream answers 200 with `loc` / `org` / `country` absent for anycast,
bogon and degraded responses. Splitting them unguarded threw, and
geo-handler turned that into a 500 the visitor's card surfaced as a
failed source.

Missing coordinates now degrade to null instead of Number('') === 0,
which would have placed those IPs at the origin of the coordinate
system; a missing org yields empty asn / org; an unknown ISO code falls
back to the label that was already written but unreachable.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-19 15:24:48 +08:00
..
2026-05-30 14:45:13 +08:00
2026-07-21 22:29:05 +08:00
2026-08-19 00:44:42 +08:00
2026-06-06 17:45:52 +08:00
2026-07-14 20:29:23 +08:00