mirror of
https://github.com/Kpa-clawbot/meshcore-analyzer.git
synced 2026-05-18 02:55:06 +00:00
7d164f4a67
Create public/hop-resolver.js that mirrors the server's disambiguateHops() algorithm (prefix index, forward/backward pass, distance sanity check). Replace all /api/resolve-hops fetch calls in packets.js with local HopResolver.resolve() calls. The resolver lazily fetches and caches the full nodes list via /api/nodes on first use. The server endpoint is kept as fallback but no longer called by the UI, eliminating 40+ HTTP requests per session.