mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-11-13 15:57:14 +01:00
fix redirection
This commit is contained in:
1 parent
0e5dc0a0bf
commit
5a5609ef9e
1 file changed
+1
-1
+1
-1
@@ -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