fix missing namespace

This commit is contained in:
Petr Moravek (sean) 2019-04-14 22:38:22 +02:00
parent f3cdcf313c
commit 6a1ef7b8d6
1 changed files with 2 additions and 2 deletions

View File

@ -1006,8 +1006,8 @@ const UI = {
url += ':' + port;
}
let token;
token = getQueryVar("token","nope");
if (token=="nope") {
token = WebUtil.getQueryVar("token", "nope");
if (token == "nope") {
url += '/' + path;
} else {
url += '/' + path + '?token=' + token;