* fix(route): fix invalid region and refactor to v2 * refactor: change route path ---------
4 lines
109 B
JavaScript
4 lines
109 B
JavaScript
module.exports = function (router) {
|
|
router.get('/news/:region/:category?', require('./news/index'));
|
|
};
|