Skip to content

Commit 0476d0d

Browse files
authored
Merge pull request #897 from integer32llc/ws-enable
2 parents b4069dd + aed07c0 commit 0476d0d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

ui/frontend/index.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,8 @@ import Router from './Router';
2626
import configureStore from './configureStore';
2727
import openWebSocket from './websocket';
2828

29-
const params = new URLSearchParams(window.location.search);
3029
// openWebSocket() may return null.
31-
const socket = params.has('websocket') ? openWebSocket(window.location) : null;
30+
const socket = openWebSocket(window.location);
3231

3332
const store = configureStore(window);
3433

0 commit comments

Comments
 (0)