Skip to content
Snippets Groups Projects
Commit 72755341 authored by Patrick Jentsch's avatar Patrick Jentsch
Browse files

add flag to socketio, hope it will improve firefox compatibility

parent 6c7f3be7
No related branches found
No related tags found
No related merge requests found
class AppClient { class AppClient {
constructor(currentUserId) { constructor(currentUserId) {
if (currentUserId) { if (currentUserId) {
this.socket = io({transports: ['websocket']}); this.socket = io({transports: ['websocket'], upgrade: false});
this.users = {}; this.users = {};
this.users.self = this.loadUser(currentUserId); this.users.self = this.loadUser(currentUserId);
this.users.self.eventListeners.job.addEventListener((eventType, payload) => this.jobEventHandler(eventType, payload)); this.users.self.eventListeners.job.addEventListener((eventType, payload) => this.jobEventHandler(eventType, payload));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment