We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b6d6e7c commit b543a84Copy full SHA for b543a84
src/main.rs
@@ -87,8 +87,8 @@ async fn main() -> anyhow::Result<()> {
87
// WebSocket proxy: /ws/{session_id}
88
.route("/ws/{session_id}", get(websocket_handler))
89
.with_state(ws_state)
90
- // HTTP/HTTPS proxy: /{session_id}/*path
91
- .route("/{session_id}/*path", any(http_proxy_handler))
+ // HTTP/HTTPS proxy: /{session_id}/{*path}
+ .route("/{session_id}/{*path}", any(http_proxy_handler))
92
.with_state(http_state)
93
// Add request tracing
94
.layer(TraceLayer::new_for_http());
0 commit comments