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 b5be02e commit 247e329Copy full SHA for 247e329
1 file changed
src/js/packages/@reactpy/client/src/websocket.ts
@@ -15,6 +15,8 @@ export function createReconnectingWebSocket(
15
if (closed) {
16
return;
17
}
18
+ props.url.searchParams.set("path", window.location.pathname);
19
+ props.url.searchParams.set("qs", window.location.search);
20
socket.current = new WebSocket(props.url);
21
socket.current.onopen = () => {
22
everConnected = true;
0 commit comments