9 lines
193 B
JavaScript
9 lines
193 B
JavaScript
|
import { Router } from "express";
|
||
|
const router = Router();
|
||
|
|
||
|
router.get('/tou', (req, res, next) => {
|
||
|
res.ctx.mainPage = 'tou'
|
||
|
res.ctx.mainCtx = {};
|
||
|
next();
|
||
|
})
|
||
|
export default router;
|