mirror of
https://gitlab.com/MrFry/mrfrys-node-server
synced 2025-04-01 20:24:18 +02:00
Making things a bit prettyer
This commit is contained in:
parent
774ff64b36
commit
e8945185e2
2 changed files with 4 additions and 2 deletions
|
@ -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) {
|
||||
|
|
|
@ -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>';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue