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.
2 parents b4069dd + aed07c0 commit 0476d0dCopy full SHA for 0476d0d
ui/frontend/index.tsx
@@ -26,9 +26,8 @@ import Router from './Router';
26
import configureStore from './configureStore';
27
import openWebSocket from './websocket';
28
29
-const params = new URLSearchParams(window.location.search);
30
// openWebSocket() may return null.
31
-const socket = params.has('websocket') ? openWebSocket(window.location) : null;
+const socket = openWebSocket(window.location);
32
33
const store = configureStore(window);
34
0 commit comments