Эх сурвалжийг харах

Merge pull request #402 from julien-f/patch-1

Fix subprotocols
Samuel 11 жил өмнө
parent
commit
e2f1ff8048
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      include/rfb.js

+ 1 - 1
include/rfb.js

@@ -316,7 +316,7 @@ var RFB;
             uri += '://' + this._rfb_host + ':' + this._rfb_port + '/' + this._rfb_path;
             Util.Info("connecting to " + uri);
 
-            this._sock.open(uri, this._sockProtocols);
+            this._sock.open(uri, this._wsProtocols);
 
             Util.Debug("<< RFB.connect");
         },