fix(web): always use websocket transport (#6564)

This commit is contained in:
Jason Rasmussen 2024-01-22 11:37:00 -05:00 committed by GitHub
parent a8efbc6772
commit bd2dbb4944
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 1 deletions

View file

@ -37,6 +37,7 @@ export const openWebsocketConnection = async () => {
websocket = io('', {
path: '/api/socket.io',
transports: ['websocket'],
reconnection: true,
forceNew: true,
autoConnect: true,