mirror of
https://gitlab.com/MrFry/mrfrys-node-server
synced 2025-04-01 20:24:18 +02:00
Sleepy update
This commit is contained in:
parent
fde527aaeb
commit
8091c2d4e9
6 changed files with 72 additions and 27 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue