Skip to content

Commit

Permalink
uncomment regular ws urls
Browse files Browse the repository at this point in the history
  • Loading branch information
Bvngee committed Feb 5, 2025
1 parent b79aa24 commit 6411e2e
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions frontend/app/websocket.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,9 @@ export function initWebSocketConnection(
// TODO: In the future user's should be shown a list of sources and which
// ones are active, and should be able to switch between them
const urls: string[] =
// hostname == "localhost"
// ? ["wss://live-vis.bvngee.com", "ws://localhost", "ws://localhost:8000"]
// : ["wss://live-vis.bvngee.com", `wss://${hostname}`];
["ws://localhost:8000"];
hostname == "localhost"
? ["wss://live-vis.bvngee.com", "ws://localhost", "ws://localhost:8000"]
: ["wss://live-vis.bvngee.com", `wss://${hostname}`];


const tryUrl = () => {
Expand Down

0 comments on commit 6411e2e

Please sign in to comment.