frontend connection: only use websockets

fixes issue with order of messages in chrome, and it's better for the
time sync anyway
master
Florens Douwes 5 years ago
parent 7ede41cd97
commit f1d741053e
  1. 3
      frontend/src/lib/Connection.ts

@ -24,7 +24,8 @@ class Connection {
constructor() { constructor() {
this.socket = io(this.url, { this.socket = io(this.url, {
autoConnect: false autoConnect: false,
transports: ['websocket']
}); });
this.setupSocketListeners(); this.setupSocketListeners();

Loading…
Cancel
Save