This commit is contained in:
Eric Swanson 2019-05-14 23:27:48 -07:00
parent 48f6acdc19
commit 0384de485d
1 changed files with 2 additions and 1 deletions

View File

@ -296,6 +296,7 @@
}
}
tok = WebUtil.getConfigVar('tok', '');
password = WebUtil.getConfigVar('password', '');
path = WebUtil.getConfigVar('path', 'websockify');
var vncPort = WebUtil.getConfigVar('vncport', '');
@ -366,7 +367,7 @@
},
body: JSON.stringify({
'cmd': 'stop',
'tok': WebUtil.getConfigVar('tok', ''),
'tok': tok,
}),
}).then(r=>r.json()).then(d=>console.log(d)).catch(console.error);
});