Only using websockets.
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user