mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-10-29 23:35:02 -04:00
run apf.ashx on agentport
Signed-off-by: si458 <simonsmith5521@gmail.com>
This commit is contained in:
parent
e891596a3e
commit
554999d07f
@ -7458,6 +7458,11 @@ module.exports.CreateWebServer = function (parent, db, args, certificates, doneF
|
||||
|
||||
// Setup agent file downloads
|
||||
obj.agentapp.get(url + 'agentdownload.ashx', handleAgentDownloadFile);
|
||||
|
||||
// Setup APF.ashx for AMT communication
|
||||
if (obj.parent.mpsserver != null) {
|
||||
obj.agentapp.ws(url + 'apf.ashx', function (ws, req) { obj.parent.mpsserver.onWebSocketConnection(ws, req); })
|
||||
}
|
||||
}
|
||||
|
||||
// Setup web relay on this web server if needed
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user