Files
RSSHub/lib/v2/12306/router.js
Fatpandac 8ea8033e9b feat(route): add 12306火车票消息 and refactor to V2 (#9031)
* feat(route): add 12306火车票消息 and refactor to V2

* fix(route): change guid

* fix(route): change to use RSSHub's default UA

* fix(route): add handle exception
2022-02-09 21:00:18 +08:00

5 lines
152 B
JavaScript

module.exports = function (router) {
router.get('/:date/:from/:to/:type?', require('./index'));
router.get('/zxdt/:id?', require('./zxdt'));
};