diff --git a/src/index.ts b/src/index.ts index f87484c..1747068 100644 --- a/src/index.ts +++ b/src/index.ts @@ -26,7 +26,7 @@ app.get("/", slow, limiter, (req, res) => { app.use(scrapeRoutes()); app.get("/g/:id", slow, limiter, (req, res) => { - if (!isNumeric(req.params.id)) throw Error("Parameter id must be number"); + if (!isNumeric(req.params.id)) throw Error("This path need required number to work"); res.redirect(301, `https://nhentai.net/g/${req.params.id}`); });