Fixed IP KVM support on olver NodeJS.

This commit is contained in:
Ylian Saint-Hilaire 2021-12-13 13:16:03 -08:00
parent db3659d665
commit 7e226ac86d
2 changed files with 2 additions and 2 deletions

View File

@ -297,7 +297,7 @@ function CreateRaritanKX3Manager(parent, hostname, port, username, password) {
setState(1); // 1 = Connecting setState(1); // 1 = Connecting
obj.authCookie = null; obj.authCookie = null;
if (retryTimer != null) { clearTimeout(retryTimer); retryTimer = null; } if (retryTimer != null) { clearTimeout(retryTimer); retryTimer = null; }
const data = new TextEncoder().encode('is_dotnet=0&is_javafree=0&is_standalone_client=0&is_javascript_kvm_client=1&is_javascript_rsc_client=1&login=' + encodeURIComponent(username) + '&password=' + encodeURIComponent(password) + '&action_login=Login'); const data = Buffer.from('is_dotnet=0&is_javafree=0&is_standalone_client=0&is_javascript_kvm_client=1&is_javascript_rsc_client=1&login=' + encodeURIComponent(username) + '&password=' + encodeURIComponent(password) + '&action_login=Login');
const options = { const options = {
hostname: hostname, hostname: hostname,
port: port, port: port,

View File

@ -1,6 +1,6 @@
{ {
"name": "meshcentral", "name": "meshcentral",
"version": "0.9.58", "version": "0.9.59",
"keywords": [ "keywords": [
"Remote Device Management", "Remote Device Management",
"Remote Device Monitoring", "Remote Device Monitoring",