rss: adjust firefox router
This commit is contained in:
@@ -181,8 +181,8 @@ RSSHub 是一个轻量、易于扩展的 RSS 生成器,可以给任何奇奇
|
||||
- 机核网
|
||||
- 分类
|
||||
- ONE · 一个
|
||||
- Mozilla
|
||||
- Fireofox Release Note
|
||||
- Firefox
|
||||
- Release note
|
||||
|
||||
</details>
|
||||
|
||||
|
||||
+4
-4
@@ -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
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user