1
0
Fork 0
mirror of https://github.com/Ylianst/MeshCentral.git synced 2025-03-09 15:40:18 +00:00

Removed old memory tracking feature.

This commit is contained in:
Ylian Saint-Hilaire 2020-07-27 13:43:23 -07:00
parent 74a831e6cf
commit e545545496
2 changed files with 1 additions and 22 deletions

View file

@ -4937,13 +4937,6 @@ module.exports.CreateWebServer = function (parent, db, args, certificates) {
obj.agentapp.ws(url + 'agenttransfer.ashx', handleAgentFileTransfer); // Setup agent to/from server file transfer handler
}
// Memory Tracking
if (typeof obj.args.memorytracking == 'number') {
obj.app.get(url + 'memorytracking.csv', function (req, res) {
try { res.sendFile(obj.parent.getConfigFilePath('memorytracking.csv')); } catch (e) { res.sendStatus(404); }
});
}
// Indicates to ExpressJS that the override public folder should be used to serve static files.
if (parent.config.domains[i].webpublicpath != null) {
// Use domain public path