Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ This project adheres to [Semantic Versioning](https://semver.org/).

### Fixed
- [#3805](https://github.com/plotly/dash/pull/3805) Fix FastAPI POST routes deadlock caused by middleware consuming request body. Fixes [#3801](https://github.com/plotly/dash/issues/3801).
- [#3813](https://github.com/plotly/dash/pull/3813) Fix websockets using incorrect path when deployed behind a proxy

## [4.2.0] - 2026-06-01 - *The Freedom Update*

Expand Down
2 changes: 1 addition & 1 deletion dash/backends/_fastapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -682,7 +682,7 @@ def serve_websocket_callback(self, dash_app: "Dash"):
dash_app: The Dash application instance
"""
# pylint: disable=too-many-statements,too-many-locals
ws_path = dash_app.config.requests_pathname_prefix + "_dash-ws-callback"
ws_path = dash_app.config.routes_pathname_prefix + "_dash-ws-callback"

# Get allowed origins from dash app config
allowed_origins = getattr(
Expand Down
2 changes: 1 addition & 1 deletion dash/backends/_quart.py
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,7 @@ def serve_websocket_callback(self, dash_app: "Dash"):
dash_app: The Dash application instance
"""
# pylint: disable=too-many-statements,too-many-locals
ws_path = dash_app.config.requests_pathname_prefix + "_dash-ws-callback"
ws_path = dash_app.config.routes_pathname_prefix + "_dash-ws-callback"
# pylint: disable=protected-access
allowed_origins = getattr(dash_app, "_websocket_allowed_origins", [])

Expand Down
Loading