diff --git a/app.js b/app.js index 41dbe33..cf87f1a 100644 --- a/app.js +++ b/app.js @@ -31,7 +31,6 @@ class Nodezzarella { this.run(); } }).catch((err) => { - console.log(err); new Error("Nodezzarella can't initialize"); }); } @@ -56,10 +55,7 @@ class Nodezzarella { app.use(config.webroot || "/", routes); app.use(function(req, res, next) { res.status(404); - res.send({"data":{ - code: 404, - error : 'Not Found' - }}); + res.send("404 not found"); return; }); diff --git a/views/template.hbs b/views/template.hbs index 97d573e..25a42ad 100644 --- a/views/template.hbs +++ b/views/template.hbs @@ -4,6 +4,7 @@ {{title}} +