mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-11-07 04:42:54 -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;
|
||||
|
||||
2
agents/meshcore.min.js
vendored
2
agents/meshcore.min.js
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user