From 8840911f224b66e83d8960d1ae48c3c8f9edc0e0 Mon Sep 17 00:00:00 2001 From: Alex Tran Date: Sun, 19 Jun 2022 18:21:11 -0500 Subject: [PATCH] Use polling as primary connection for socket io --- web/src/lib/stores/websocket.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/lib/stores/websocket.ts b/web/src/lib/stores/websocket.ts index ddae1b0886..d37f220922 100644 --- a/web/src/lib/stores/websocket.ts +++ b/web/src/lib/stores/websocket.ts @@ -5,7 +5,7 @@ import { assets } from './assets'; export const openWebsocketConnection = (accessToken: string) => { const websocket = io(serverEndpoint, { - transports: ['websocket', 'polling'], + transports: ['polling'], reconnection: true, forceNew: true, autoConnect: true,