Files
RSSHub/lib/v2/science/router.js
T
TomandTony 78c1e71c43 feat(route): Science.org Blogs (#13016)
* initial commit

* clean up code, run fmt, add docs

* fix caching

Co-authored-by: Tony <TonyRL@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: Tony <TonyRL@users.noreply.github.com>

* remove regex

* Add config import

* docs: cn docs

* docs: better link

---------
2023-08-14 21:08:11 +08:00

7 lines
249 B
JavaScript

module.exports = (router) => {
router.get('/blogs/:name?', require('./blogs'));
router.get('/cover', require('./cover'));
router.get('/current/:journal?', require('./current'));
router.get('/early/:journal?', require('./early'));
};