disable xhr fallback on websocket connection
This commit is contained in:
parent
8f653984a3
commit
f055781db8
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user