diff options
Diffstat (limited to 'source/client')
-rw-r--r-- | source/client/room.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/client/room.ts b/source/client/room.ts index 3e3ed19..1b750f2 100644 --- a/source/client/room.ts +++ b/source/client/room.ts @@ -19,7 +19,7 @@ export class Room { this.name = name this.el = document.createElement("div") this.el.classList.add("room") - this.websocket = new WebSocket(`ws://${window.location.host}/room/${encodeURIComponent(name)}`) + this.websocket = new WebSocket(`ws://${window.location.host}/signaling/${encodeURIComponent(name)}`) this.websocket.onclose = () => this.websocket_close() this.websocket.onopen = () => this.websocket_open() this.websocket.onmessage = (ev) => { |