mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-11-14 16:55:42 +00:00
Force socketio to use websockets
This commit is contained in:
parent
f605430bf8
commit
9ced65f34c
@ -27,7 +27,7 @@ nopaque.flashedMessages = undefined;
|
||||
// nopaque functions
|
||||
nopaque.socket = {};
|
||||
nopaque.socket.init = function() {
|
||||
nopaque.socket = io();
|
||||
nopaque.socket = io({transports: ['websocket']});
|
||||
// Add event handlers
|
||||
nopaque.socket.on("corpora_init", function(msg) {
|
||||
nopaque.corpora = JSON.parse(msg);
|
||||
|
Loading…
Reference in New Issue
Block a user