Files
Sabu SiyadGitHubTanmoy SarkarTanmoy Sarkargreptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
430c0156bd fix(socketio): short circuit websocket if in frappe cloud (#40312)
* 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>
2026-06-26 15:57:22 +05:30
..