Sleepy update

This commit is contained in:
YourFriendlyNeighborhoodDealer 2019-04-06 10:57:15 +02:00
parent fde527aaeb
commit 8091c2d4e9
6 changed files with 72 additions and 27 deletions

View file

@ -111,7 +111,7 @@ app.get('/sio', function(req, res) {
});
app.get('/manual', function(req, res) {
res.write(utils.ReadFile(manFile));
res.render('man');
res.end();
logger.LogReq(req);
});
@ -266,7 +266,7 @@ app.post('*', function(req, res) {
// utils.AppendToFile(logger.GetDateString() + ": " + "404 POST", logFile);
});
var msg = "[STRT]: ";
var msg = "";
stat.Load();
const httpServer = http.createServer(app);