Making things a bit prettyer

This commit is contained in:
YourFriendlyNeighborhoodDealer 2018-12-14 21:34:31 +01:00
parent 774ff64b36
commit e8945185e2
2 changed files with 4 additions and 2 deletions

View file

@ -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) {

View file

@ -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 = '<html><body bgcolor="#212127"><head><meta charset="UTF-8">';
r += '<style>body { font: normal 14px Verdana; color: #999999;}</style>';