9 lines
No EOL
193 B
JavaScript
9 lines
No EOL
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; |