Files
RSSHub/lib/v2/yahoo/router.js
T
Fatpandac 6ace94fcd9 fix(route): fix invalid region and refactor to v2 (#11777)
* fix(route): fix invalid region and refactor to v2

* refactor: change route path

---------
2023-02-06 01:48:09 +08:00

4 lines
109 B
JavaScript

module.exports = function (router) {
router.get('/news/:region/:category?', require('./news/index'));
};