dirty workaroud for novncproxy 19.0.3

long story....
and a sad one
This commit is contained in:
michkow 2020-02-07 15:53:55 +01:00 committed by GitHub
parent 9e952fbfe8
commit 3f134ca8f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 1 deletions

View File

@ -1081,7 +1081,12 @@ const UI = {
if (port) {
url += ':' + port;
}
url += '/' + path;
if (path.startsWith("?token")) {
url += '/websockify' + path;
} else {
url += '/' + path;
}
UI.rfb = new RFB(document.getElementById('noVNC_container'), url,
{ shared: UI.getSetting('shared'),