diff --git a/actions.js b/actions.js index 999d202..9432e1d 100755 --- a/actions.js +++ b/actions.js @@ -21,7 +21,8 @@ module.exports = { ProcessIncomingRequest: ProcessIncomingRequest, CheckData: CheckData, - NLoad: NLoad + NLoad: NLoad, + LoadJSON: LoadJSON }; var recievedFile = "stats/recieved"; @@ -245,7 +246,7 @@ function Process(d, file) { return newRes.count - oldRes.count; } else - logger.Log("[PCES]:\t\tNo new data, and one line of stuff only"); + logger.Log("[PCES]:\t\tNo new data"); } catch (e) { diff --git a/server.js b/server.js index 5552901..f6a9745 100755 --- a/server.js +++ b/server.js @@ -115,6 +115,7 @@ app.get('/static', function(req, res) { }); app.get('/legacy', function(req, res) { + // TODO: make this ejs var f = utils.ReadFile(dataFile); var r = ''; r += '';