mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-03-09 15:40:18 +00:00
Added server AgentPing/AgentPong settings.
This commit is contained in:
parent
827a3676f7
commit
395978ac36
7 changed files with 22 additions and 4 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue