RSSHub/lib/v2/dut/router.js

5 lines
122 B
JavaScript

module.exports = function (router) {
router.get(/(\w+)\/([\w/]+)?/, './index');
router.get('/:0?', './index');
};