Only using websockets.

This commit is contained in:
ThePendulum 2023-11-21 01:03:25 +01:00
parent 39a27f501e
commit 59424af388
1 changed files with 1 additions and 0 deletions

View File

@ -147,6 +147,7 @@ async function connect(bot, games) {
const { origin, pathname } = new URL(config.socket); const { origin, pathname } = new URL(config.socket);
socket.io = io(origin, { socket.io = io(origin, {
transports: ['websocket'],
path: pathname, path: pathname,
query: { query: {
v: wsCreds.wsId, v: wsCreds.wsId,