Skip to content

Commit

Permalink
update www/src/ts/game.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianjnuwu committed Jan 15, 2025
1 parent cbd0b8c commit 01723a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions www/src/ts/game.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ function showMessage(text: string): void {
<div class="toast-body">${text}</div></div>`);
}

/* import.meta.env.VITE_SOCKET_URL || "https://socket-hj1h.onrender.com",*/
/* */

// Create socket connection
const socket: Socket = io("http://0.0.0.0:3000", {
const socket: Socket = io(import.meta.env.VITE_SOCKET_URL || "https://socket-hj1h.onrender.com", {
transports: ["websocket", "polling"],
},
);
Expand Down

0 comments on commit 01723a5

Please sign in to comment.