mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2026-10-02 15:31:11 +00:00
add flag to socketio, hope it will improve firefox compatibility
This commit is contained in:
1 parent
6c7f3be785
commit
727553412f
1 file changed
+1
-1
@@ -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));
|
||||
|
||||
Reference in new issue
Block a user