Skip to content

Commit 87d8b87

Browse files
committed
fix(socket.io): readd long polling
1 parent 8b41eed commit 87d8b87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/static/js/socketio.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const connect = (etherpadBaseUrl, namespace = '/', options = {}) => {
2424
let socketOptions = {
2525
path: socketioUrl.pathname,
2626
upgrade: true,
27-
transports: ['websocket'],
27+
transports: ['polling', 'websocket'],
2828
};
2929
socketOptions = Object.assign(options, socketOptions);
3030

0 commit comments

Comments
 (0)