From ce9ac7ed3adaa78f4c110c412e2e0e496c462a0f Mon Sep 17 00:00:00 2001 From: Davide Alberani Date: Sat, 2 Nov 2019 11:58:29 +0100 Subject: [PATCH] fix #2: work in Chrome/Chromium --- static/js/sb.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/sb.js b/static/js/sb.js index ee19271..5dd68af 100644 --- a/static/js/sb.js +++ b/static/js/sb.js @@ -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);