mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-11-09 21:49:43 -05:00
Added server AgentPing/AgentPong settings.
This commit is contained in:
@@ -623,6 +623,8 @@ function createMeshCore(agent) {
|
||||
sendConsoleText('getScript: ' + JSON.stringify(data));
|
||||
break;
|
||||
}
|
||||
case 'ping': { mesh.SendCommand('{"action":"pong"}'); break; }
|
||||
case 'pong': { break; }
|
||||
default:
|
||||
// Unknown action, ignore it.
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user