mirror of
https://github.com/MarekWo/mc-webui.git
synced 2026-06-22 02:55:12 +02:00
e06e7b06dd
Adds an upload-arrow button to every entry in the Paths list inside the DM Contact Info modal: clicking it pushes that configured path to the firmware as the active route, mirroring the console's change_path command but without leaving the UI. After the device confirms, the modal's device-path line refreshes so the new route is reflected immediately. Backend: POST /api/contacts/<pubkey>/paths/<id>/apply looks up the configured path, runs dm.change_path() with its hex + hash_size, and invalidates the contacts cache.