Minor quick fix
This commit is contained in:
parent
27bbd490ea
commit
33f8f14ca0
6
app.js
6
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;
|
||||
});
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
|
Reference in New Issue