From 3f134ca8f28e5400e8b81d3bd296028595ee8d46 Mon Sep 17 00:00:00 2001 From: michkow <46825738+michkow@users.noreply.github.com> Date: Fri, 7 Feb 2020 15:53:55 +0100 Subject: [PATCH] dirty workaroud for novncproxy 19.0.3 long story.... and a sad one --- app/ui.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/app/ui.js b/app/ui.js index 879eafad..2b68d75e 100644 --- a/app/ui.js +++ b/app/ui.js @@ -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'),