fix #2: work in Chrome/Chromium

This commit is contained in:
Davide Alberani 2019-11-02 11:58:29 +01:00
parent 9814cc2f81
commit ce9ac7ed3a

View file

@ -69,7 +69,7 @@ function getWSPath() {
}
var WS = new WebSocket(getWSPath(), ['soap', 'xmpp']);
var WS = new WebSocket(getWSPath());
WS.onerror = function(error) {
console.log('WebSocket Error ' + error);