Use polling as primary connection for socket io
parent
4aa66f4156
commit
8840911f22
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue