Skip to content

v1.9.0 - Subpath Hosting, Direct Node Links, and Peer Distances

Choose a tag to compare

@yellowcooln yellowcooln released this 06 May 18:15
· 33 commits to main since this release
bb59158

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:

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:

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

  • node
  • repeater
  • device
  • device_id
  • public_key
  • pubkey

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_PATH remains dormant unless explicitly configured

What's Changed

Full Changelog: v1.8.6...v1.9.0