mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-11-14 16:55:42 +00:00
add flag to socketio, hope it will improve firefox compatibility
This commit is contained in:
parent
6c7f3be785
commit
727553412f
@ -1,7 +1,7 @@
|
||||
class AppClient {
|
||||
constructor(currentUserId) {
|
||||
if (currentUserId) {
|
||||
this.socket = io({transports: ['websocket']});
|
||||
this.socket = io({transports: ['websocket'], upgrade: false});
|
||||
this.users = {};
|
||||
this.users.self = this.loadUser(currentUserId);
|
||||
this.users.self.eventListeners.job.addEventListener((eventType, payload) => this.jobEventHandler(eventType, payload));
|
||||
|
Loading…
Reference in New Issue
Block a user