force socketsio to use websockets
This commit is contained in:
parent
f05b5666db
commit
426a2706d8
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@
|
|||
|
||||
onMount(async () => {
|
||||
// Join the room
|
||||
socket = io("/", { path: "/ws" })
|
||||
socket = io("/", { path: "/ws", transports: ["websocket"] })
|
||||
|
||||
let sugg, queue, index
|
||||
;[returnError] = await joinRoom(data.roomId)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue