Skip to content

Commit 6411e2e

Browse files
committed
uncomment regular ws urls
1 parent b79aa24 commit 6411e2e

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

frontend/app/websocket.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,9 @@ export function initWebSocketConnection(
8181
// TODO: In the future user's should be shown a list of sources and which
8282
// ones are active, and should be able to switch between them
8383
const urls: string[] =
84-
// hostname == "localhost"
85-
// ? ["wss://live-vis.bvngee.com", "ws://localhost", "ws://localhost:8000"]
86-
// : ["wss://live-vis.bvngee.com", `wss://${hostname}`];
87-
["ws://localhost:8000"];
84+
hostname == "localhost"
85+
? ["wss://live-vis.bvngee.com", "ws://localhost", "ws://localhost:8000"]
86+
: ["wss://live-vis.bvngee.com", `wss://${hostname}`];
8887

8988

9089
const tryUrl = () => {

0 commit comments

Comments
 (0)