mirror of
https://github.com/hanzoai/frappe.git
synced 2026-11-09 14:28:40 +00:00
* fix(socketio): short circuit websocket if in frappe cloud * fix(socketio): validate host using `get_site_name` * fix(socketio): handle redirects * fix(socketio): redirect should match `fetch` behavior * fix(socketio): add error handler on request * fix(socketio): reuse reuse parsed host in case of redirect * fix(socket): use `redirect.host` instead of `hostname` * fix(realtime): route auth over loopback with X-Frappe-Site-Name to bypass CDN * fix(realtime): make web-process host configurable via webserver_host, default to origin * fix(realtime): normalize webserver_host scheme and port in auth URL builder * fix(realtime): Fix the port after slash issue Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com> * fix(realtime): Fix the port after slash issue Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com> --------- Co-authored-by: Tanmoy Sarkar <[email protected]> Co-authored-by: Tanmoy Sarkar <[email protected]> Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>