Display error messages

This commit is contained in:
tdurieux
2021-03-19 13:26:29 +01:00
parent 54bc4e176d
commit 72715dfcd9
17 changed files with 117 additions and 33 deletions
+1 -1
View File
@@ -62,7 +62,7 @@ async function webView(req, res) {
console.error(error);
return res.status(500).send({ error });
}
return res.status(404).send("File_not_found");
return res.status(404).send("file_not_found");
}
router.get("/:repoId/*", webView);