fix redirection

This commit is contained in:
tdurieux
2021-04-19 10:33:52 +02:00
parent 0e5dc0a0bf
commit 5a5609ef9e

View File

@@ -66,7 +66,7 @@ async function webView(req, res) {
router.get("/:repoId/*", webView);
router.get("/:repoId", (req, res) => {
res.redirect("/w/" + req.url + "/")
res.redirect("/w" + req.url + "/")
});
module.exports = router;