Files
RSSHub/lib/v2/china/router.js
mario.ma d2eb1ac19c feat: 新增china.com RSS (#10532)
* feat: add news router

* feat: add news path

* feat: change website category

* feat: complate zhonghuawang

* style: format code

* docs: add english router doc

* feat: 调整文件名称

* feat: 添加时间处理

* feat: cr commit

Co-authored-by: majiaao <jiaaoMario@gmail.com>
2022-08-19 01:53:29 +08:00

5 lines
178 B
JavaScript

module.exports = (router) => {
router.get('/news/military', require('./news/military/news.js'));
router.get('/news/:category?', require('./news/highlights/news.js'));
};