adding terms of service
This commit is contained in:
@ -111,6 +111,12 @@ export default (router, tpl) => {
|
||||
});
|
||||
});
|
||||
|
||||
router.get(/^\/(terms)$/, (req, res) => {
|
||||
res.reply({
|
||||
body: tpl.render(req.url.split[0], { tmp: null }, req)
|
||||
});
|
||||
});
|
||||
|
||||
router.get(/^\/mode\/(\d)/, lib.loggedin, async (req, res) => {
|
||||
const mode = +req.url.split[1];
|
||||
let referertmp = req.headers.referer;
|
||||
|
Reference in New Issue
Block a user