mirror of
https://github.com/NetworkCats/rustyip.git
synced 2026-11-13 16:17:46 +00:00
The detectAltIp() function was unconditionally fetching the viewer's own IPv6/IPv4 address and displaying it alongside queried IP results. Pass the is_query flag to the client via a data attribute and guard the alt-IP detection so it only runs when viewing your own IP.