1
0
Fork 0
mirror of https://github.com/Ylianst/MeshCentral.git synced 2025-03-09 15:40:18 +00:00

Improved Web-SSH, Web-RDP and session logging.

This commit is contained in:
Ylian Saint-Hilaire 2021-05-05 00:18:41 -07:00
parent 9c676c6fef
commit d17aae0c8f
3 changed files with 74 additions and 49 deletions

View file

@ -397,7 +397,7 @@ export default class RFB extends EventTargetMixin {
try {
// WebSocket.onopen transitions to the RFB init states
this._sock.open(this._url, ['binary']);
this._sock.open(this._url + '&p=12', ['binary']);
} catch (e) {
if (e.name === 'SyntaxError') {
this._fail("Invalid host or port (" + e + ")");