mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-02-12 18:32:44 +00:00
fix redirection
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user