rss: adjust firefox router

This commit is contained in:
DIYgod
2018-07-27 23:33:58 +08:00
parent 70fa828351
commit fa1a08880b
4 changed files with 8 additions and 8 deletions
+2 -2
View File
@@ -181,8 +181,8 @@ RSSHub 是一个轻量、易于扩展的 RSS 生成器,可以给任何奇奇
- 机核网
- 分类
- ONE · 一个
- Mozilla
- Fireofox Release Note
- Firefox
- Release note
</details>
+4 -4
View File
@@ -1498,13 +1498,13 @@ id, 专辑 id, 可在对应专辑页面的 URL 中找到
参数: 无
## Mozilla
## Firefox
### Firefox Release Note
### Release note
举例: [https://rsshub.app/mozilla/firefox/desktop](https://rsshub.app/mozilla/firefox/desktop)
举例: [https://rsshub.app/firefox/release/desktop](https://rsshub.app/mozilla/firefox/release/desktop)
路由: `/mozilla/firefox/:platform`
路由: `/firefox/release/:platform`
参数: platform
+2 -2
View File
@@ -345,7 +345,7 @@ router.get('/gcores/category/:category', require('./routes/gcores/category'));
// 一个
router.get('/one', require('./routes/one/index'));
// Firefox Release Note
router.get('/mozilla/firefox/:platform', require('./routes/mozilla/firefox'));
// Firefox
router.get('/firefox/release/:platform', require('./routes/firefox/release'));
module.exports = router;