dirty workaroud for novncproxy 19.0.3
long story.... and a sad one
This commit is contained in:
parent
9e952fbfe8
commit
3f134ca8f2
|
|
@ -1081,7 +1081,12 @@ const UI = {
|
||||||
if (port) {
|
if (port) {
|
||||||
url += ':' + port;
|
url += ':' + port;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (path.startsWith("?token")) {
|
||||||
|
url += '/websockify' + path;
|
||||||
|
} else {
|
||||||
url += '/' + path;
|
url += '/' + path;
|
||||||
|
}
|
||||||
|
|
||||||
UI.rfb = new RFB(document.getElementById('noVNC_container'), url,
|
UI.rfb = new RFB(document.getElementById('noVNC_container'), url,
|
||||||
{ shared: UI.getSetting('shared'),
|
{ shared: UI.getSetting('shared'),
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue