Browse Source

fix #2: work in Chrome/Chromium

Davide Alberani 1 year ago
parent
commit
ce9ac7ed3a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      static/js/sb.js

+ 1 - 1
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);