disable xhr fallback on websocket connection

This commit is contained in:
Ramón Souza 2022-09-20 18:34:29 -03:00
parent 8f653984a3
commit f055781db8

View File

@ -38,6 +38,11 @@ import('/imports/api/audio/client/bridge/bridge-whitelist').catch(() => {
// bridge loading
});
Meteor.connection._stream._sockjsProtocolsWhitelist = function () { return ['websocket'] ; }
Meteor.disconnect();
Meteor.reconnect();
collectionMirrorInitializer();
liveDataEventBrokerInitializer();