changing how to about
This commit is contained in:
@ -49,7 +49,7 @@ router.get(/^\/([0-9]+)$/, async (req, res) => {
|
||||
res.reply({ body: tpl.render("views/item", data) });
|
||||
});
|
||||
|
||||
router.get(/^\/(contact|help|how)$/, (req, res) => {
|
||||
router.get(/^\/(contact|help|about)$/, (req, res) => {
|
||||
res.reply({ body: tpl.render(`views/${req.url.split[0]}`) });
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user