RSSHub/lib/v2/36kr/router.js

5 lines
147 B
JavaScript

module.exports = (router) => {
router.get('/hot-list/:category?', require('./hot-list'));
router.get(/([\w-/]+)?/, require('./index'));
};