Revert transport to websocket only

This commit is contained in:
Mehdi Osman 2025-03-22 13:55:45 -04:00 committed by GitHub
parent 90669b0604
commit 4b3ad60565
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -241,7 +241,7 @@ export default class Assist {
extraHeaders: { extraHeaders: {
sessionId, sessionId,
}, },
transports: ['polling', 'websocket',], transports: ['websocket',],
withCredentials: true, withCredentials: true,
reconnection: true, reconnection: true,
reconnectionAttempts: 30, reconnectionAttempts: 30,
@ -852,4 +852,4 @@ export default class Assist {
* // }) * // })
* // slPeer.on('error', console.error) * // slPeer.on('error', console.error)
* // this.emit('canvas_stream', { canvasId, }) * // this.emit('canvas_stream', { canvasId, })
* */ * */