Files
RSSHub/lib/v2/readhub/router.js
T
Ethan ShenandTonyRL 8aa3b1ca15 fix(route): Readhub (#8029)
* fix(route): Readhub

* refactor: migrate to v2

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

7 lines
164 B
JavaScript

module.exports = (router) => {
// deprecated
router.get('/category/:category?', require('./index'));
router.get('/:category?', require('./index'));
};