v1.9.0 - Subpath Hosting, Direct Node Links, and Peer Distances
This release adds proper subpath hosting support and improves node sharing and peer visibility.
Subpath Hosting
Added APP_BASE_PATH, allowing the map to be hosted from a subpath such as:
/livemap
instead of only from /.
This work originated from:
- PR #65 by @chrisdavis2110
Covered Areas
- App shell URLs
- Static asset URLs
- WebSocket path
- Service worker registration and scope
- Manifest URL,
start_url, and scope - Turnstile verification flow
- Auth cookie path
- Preview/share image URLs
This release also includes follow-up fixes so preview and Open Graph image URLs work correctly when using both:
APP_BASE_PATH- Public site URLs
Direct Node Links and Peer Distances
This work originated from:
- PR #66 by @mitchellmoss
Node popups now include direct map-link actions:
- Copy node link
- Copy repeater link
The generated links preserve current map state plus a target device.
Opening a shared link now:
- Automatically enables node visibility if hidden
- Focuses the target device
- Zooms to it
- Opens its popup
Supported Link Parameters
noderepeaterdevicedevice_idpublic_keypubkey
The Peers tool now shows distance when both endpoints have coordinates.
Backend
-
/peers/{device_id}now includes:distance_m
Frontend
-
Renders peer distance using the currently selected unit system:
- Kilometers
- Miles
Compatibility
For normal root-hosted installs:
- No configuration changes required
- Existing
/deployments behave the same APP_BASE_PATHremains dormant unless explicitly configured
What's Changed
- feat: APP_BASE_PATH config to set app as subpath by @chrisdavis2110 in #65
- [codex] Add direct node links and peer distances by @mitchellmoss in #66
Full Changelog: v1.8.6...v1.9.0