add Github Pull requests rss feed (#1549)

add Github pull requests rss feed with `github/pull/{user}/{repo}` this pattern
This commit is contained in:
Hash Lin
2019-02-19 11:30:13 +08:00
committed by DIYgod
parent 42590aad2f
commit 6410c2f876
3 changed files with 37 additions and 0 deletions

View File

@@ -321,6 +321,7 @@ if (config.github && config.github.access_token) {
}
router.get('/github/trending/:since/:language?', require('./routes/github/trending'));
router.get('/github/issue/:user/:repo', require('./routes/github/issue'));
router.get('/github/pull/:user/:repo', require('./routes/github/pulls'));
router.get('/github/user/followers/:user', require('./routes/github/follower'));
router.get('/github/stars/:user/:repo', require('./routes/github/star'));
router.get('/github/search/:query/:sort?/:order?', require('./routes/github/search'));