Skip to content

Commit 9d16248

Browse files
Update rfb.js
1 parent 46ce86a commit 9d16248

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

systemvm/noVNC/include/rfb.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -345,8 +345,7 @@ var RFB;
345345
if (typeof UsingSocketIO !== 'undefined') {
346346
uri = 'http';
347347
} else {
348-
// sachin : revert this before release
349-
uri = 'ws';
348+
uri = this._encrypt ? 'wss' : 'ws';
350349
}
351350

352351
uri += '://' + this._rfb_host + ':' + this._rfb_port + '/' + this._rfb_path;

0 commit comments

Comments
 (0)