From c92da037a52ec6d7b9fe30793a4e43cdc6b7cdec Mon Sep 17 00:00:00 2001 From: BuildTools Date: Mon, 2 Oct 2017 08:32:13 +0200 Subject: bugfix --- app.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app.js b/app.js index 0c4aa64..8ca3e0c 100644 --- a/app.js +++ b/app.js @@ -55,7 +55,7 @@ app.get('/', function(req, res) { }); app.get('*', function(req, res) { - console.log("[" + new Date() + "] > " + "404 - " + req.url); + console.error("[" + new Date() + "] > " + "404 - " + req.url); fs.readFile('public/404.md', 'utf8', function(err, data) { if (err) return console.log(err); @@ -76,5 +76,5 @@ app.get('*', function(req, res) { var server = app.listen(80, function() { var host = server.address().address; var port = server.address().port; - console.log("App listening at http://%s:%s", host, port); + console.log("[" + new Date() + "] > " + "App listening at http://%s:%s", host, port); }); -- cgit v1.2.3