mirror of
https://github.com/nesquena/hermes-webui.git
synced 2026-05-26 03:30:36 +00:00
6d17e55688
- Revert '/sw.js' back to relative 'sw.js' in serviceWorker.register() (static/index.html:50). The dynamic <base href> script resolves relative paths correctly for both root and subpath mounts. Absolute path breaks reverse-proxy installs at e.g. /hermes/. - Add regression test test_index_sw_registration_uses_relative_path to prevent future absolute-path rewrites from silently breaking subpath-mount installs. Addresses reviewer feedback on PR #1492 (review by @nesquena).