mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-07-08 14:47:59 +02:00
fix redirection
This commit is contained in:
+1
-1
@@ -66,7 +66,7 @@ async function webView(req, res) {
|
|||||||
|
|
||||||
router.get("/:repoId/*", webView);
|
router.get("/:repoId/*", webView);
|
||||||
router.get("/:repoId", (req, res) => {
|
router.get("/:repoId", (req, res) => {
|
||||||
res.redirect("/w/" + req.url + "/")
|
res.redirect("/w" + req.url + "/")
|
||||||
});
|
});
|
||||||
|
|
||||||
module.exports = router;
|
module.exports = router;
|
||||||
|
|||||||
Reference in New Issue
Block a user