fix(socket.io): readd long polling

This commit is contained in:
SamTV12345 2025-03-13 14:31:54 +01:00
parent 8b41eed8a6
commit 87d8b87855

View file

@ -24,7 +24,7 @@ const connect = (etherpadBaseUrl, namespace = '/', options = {}) => {
let socketOptions = {
path: socketioUrl.pathname,
upgrade: true,
transports: ['websocket'],
transports: ['polling', 'websocket'],
};
socketOptions = Object.assign(options, socketOptions);