Files
rhema-together/src/api
vhaudiquet be04a6cf90 fix: accept terminal sockets from the page host
The origin check compared the browser's Origin with the configured
public_url. Reaching the app through localhost or another LAN address
then rejected the terminal and presence sockets even though the page
and the socket were on the same origin.

Compare the Origin authority with the request's Host header instead.
That is the address the browser actually used, so the check still
refuses another site while working behind a proxy and on every local
address.
2026-11-28 02:18:22 +01:00
..