Files
RSSHub/lib/v2/kbs/router.js
Ethan Shen 7445cee887 feat(route): add KBS news (#8121)
* feat(route): add KBS news

* fix docs

* refactor: migrate to v2

Co-authored-by: TonyRL <TonyRL@users.noreply.github.com>
2022-02-24 00:45:00 +08:00

5 lines
157 B
JavaScript

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