mirror of
https://github.com/rommapp/romm.git
synced 2026-11-29 01:58:41 +01:00
A same-origin entry sends the browser to `host`, but activate answers with the room URL the broker built from its own SUBFOLDER, and that is an absolute path, so urljoin lets it replace the path `host` carries. The two values are therefore not independent: both have to be the container's own SUBFOLDER. Get them wrong and nothing complains. A container mounted at /streaming-2 while declaring /streaming resolves, claims its own key, and hands the player a URL the proxy routes to whoever owns /streaming: a different container, mid-session, with no trace of it in either log. The likeliest way in is a second pool member proxied at its own path with `subfolder` left to its default. Resolve the entry, log it, and clear broker_host so it cannot be claimed, matching how the other unusable configurations are handled. It stays in the fleet view, where the operator can see what is wrong with it. A full URL `host` is untouched; it carries an origin of its own for that absolute path to land on, so there the two are free to differ.