Skip to content

Commit

Permalink
Update ws
Browse files Browse the repository at this point in the history
  • Loading branch information
AshurovG committed Dec 15, 2024
1 parent cde1845 commit 1610669
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions public/store/RoomPageStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,8 @@ class RoomPageStore {
wsInit() {
this.#user = userStore.getUser();
const ws = new WebSocket(
`ws://localhost:8080/api/room/join?room_id=${this.#roomIdFromUrl}&user_id=${this.#user.id}`,
// `wss://cassette-world.ru/api/room/join?room_id=${this.#roomIdFromUrl}&user_id=${this.#user.id}`,
// `ws://localhost:8080/api/room/join?room_id=${this.#roomIdFromUrl}&user_id=${this.#user.id}`,
`wss://cassette-world.ru/api/room/join?room_id=${this.#roomIdFromUrl}&user_id=${this.#user.id}`,
);

this.#ws = ws;
Expand Down

0 comments on commit 1610669

Please sign in to comment.