mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-10-29 15:41:26 +08:00
* fix(route): allow Mastodon without extra config * Maintain zh/en doc consistency and enhance the desc of reqs * Add description about Mastodon out of the box * refactor: migrate to v2 ---------
7 lines
355 B
JavaScript
7 lines
355 B
JavaScript
module.exports = (router) => {
|
|
router.get('/account_id/:site/:account_id/statuses/:only_media?', require('./account_id'));
|
|
router.get('/acct/:acct/statuses/:only_media?', require('./acct'));
|
|
router.get('/remote/:site/:only_media?', require('./timeline_remote'));
|
|
router.get('/timeline/:site/:only_media?', require('./timeline_local'));
|
|
};
|