diff --git a/app/ui.js b/app/ui.js index fa8d78fd..2742ad5c 100644 --- a/app/ui.js +++ b/app/ui.js @@ -1005,6 +1005,7 @@ const UI = { if (port) { url += ':' + port; } + let token; token = getQueryVar("token","nope"); if (token=="nope") { url += '/' + path; diff --git a/vnc_lite.html b/vnc_lite.html index ae96b2d2..0f334385 100644 --- a/vnc_lite.html +++ b/vnc_lite.html @@ -182,6 +182,7 @@ if(port) { url += ':' + port; } + let token; token = getQueryVar("token","nope"); if (token=="nope") { url += '/' + path;