Updated so Root/User/Login all do the samething

This commit is contained in:
Bryan Roe 2020-04-23 10:08:12 -07:00
parent d2822dabbf
commit ba9b124668

View File

@ -249,7 +249,8 @@ require('MeshAgent').AddCommandHandler(function (data) {
// Take a look at the protocol
this.httprequest.protocol = parseInt(data);
if (typeof this.httprequest.protocol != 'number') { this.httprequest.protocol = 0; }
if (this.httprequest.protocol == 1) {
if ((this.httprequest.protocol == 1) || (this.httprequest.protocol == 6) || (this.httprequest.protocol == 8) || (this.httprequest.protocol == 9))
{
// Remote terminal using native pipes
if (process.platform == "win32")
{