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 b79aa24 commit 6411e2eCopy full SHA for 6411e2e
frontend/app/websocket.ts
@@ -81,10 +81,9 @@ export function initWebSocketConnection(
81
// TODO: In the future user's should be shown a list of sources and which
82
// ones are active, and should be able to switch between them
83
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"];
+ hostname == "localhost"
+ ? ["wss://live-vis.bvngee.com", "ws://localhost", "ws://localhost:8000"]
+ : ["wss://live-vis.bvngee.com", `wss://${hostname}`];
88
89
90
const tryUrl = () => {
0 commit comments