add rules
This commit is contained in:
parent
711a799482
commit
8c00723e16
3 changed files with 44 additions and 1 deletions
9
routes/info.js
Normal file
9
routes/info.js
Normal file
|
@ -0,0 +1,9 @@
|
|||
import { Router } from "express";
|
||||
const router = Router();
|
||||
|
||||
router.get('/tou', (req, res, next) => {
|
||||
res.ctx.mainPage = 'tou'
|
||||
res.ctx.mainCtx = {};
|
||||
next();
|
||||
})
|
||||
export default router;
|
Loading…
Add table
Add a link
Reference in a new issue