Minor quick fix

This commit is contained in:
Dryusdan 2017-07-22 01:24:15 +02:00
parent 27bbd490ea
commit 33f8f14ca0
2 changed files with 2 additions and 5 deletions

6
app.js
View File

@ -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;
});

View File

@ -4,6 +4,7 @@
<meta charset="UTF-8">
<title>{{title}}</title>
<link rel="stylesheet" href="/assets/css/global.css">
<link href='https://miaou.drycat.fr/favicon.ico' rel='icon' type='image/x-icon'>
</head>
<body>
<header>