Only using websockets.
This commit is contained in:
parent
39a27f501e
commit
59424af388
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue