Files
RSSHub/lib/v2/readhub/router.js
Fatpandac a48ec3cd82 fix(route): readhub add abstract (#9207)
* fix(route): add abstract

* fix(route): add an optional parameter to control show fulltext or overview
2022-02-28 20:44:10 +08:00

7 lines
186 B
JavaScript

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