Fixes
This commit is contained in:
parent
48f6acdc19
commit
0384de485d
|
|
@ -296,6 +296,7 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
tok = WebUtil.getConfigVar('tok', '');
|
||||||
password = WebUtil.getConfigVar('password', '');
|
password = WebUtil.getConfigVar('password', '');
|
||||||
path = WebUtil.getConfigVar('path', 'websockify');
|
path = WebUtil.getConfigVar('path', 'websockify');
|
||||||
var vncPort = WebUtil.getConfigVar('vncport', '');
|
var vncPort = WebUtil.getConfigVar('vncport', '');
|
||||||
|
|
@ -366,7 +367,7 @@
|
||||||
},
|
},
|
||||||
body: JSON.stringify({
|
body: JSON.stringify({
|
||||||
'cmd': 'stop',
|
'cmd': 'stop',
|
||||||
'tok': WebUtil.getConfigVar('tok', ''),
|
'tok': tok,
|
||||||
}),
|
}),
|
||||||
}).then(r=>r.json()).then(d=>console.log(d)).catch(console.error);
|
}).then(r=>r.json()).then(d=>console.log(d)).catch(console.error);
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue