docs: typo

This commit is contained in:
TonyRL 2022-08-23 00:34:11 +02:00
parent 9b2df2eb3d
commit c8a58f3d43
3 changed files with 3 additions and 3 deletions

View File

@ -254,7 +254,7 @@ pageClass: routes
### 看板
<Route author="TonyRL" example="/meteor/board/all" path="/meteor/board/:board?" :paramsDesc="['看板 ID 或簡稱,可在 URL 或下方路由找到,預設為 `all`']" radar="1" rssbud="1"/>
<Route author="TonyRL" example="/meteor/all" path="/meteor/:board?" :paramsDesc="['看板 ID 或簡稱,可在 URL 或下方路由找到,預設為 `all`']" radar="1" rssbud="1"/>
### 看板列表

View File

@ -1,4 +1,4 @@
module.exports = {
'/boards': ['TonyRL'],
'/:board': ['TonyRL'],
'/:board?': ['TonyRL'],
};

View File

@ -1,4 +1,4 @@
module.exports = (router) => {
router.get('/boards', require('./boards'));
router.get('/:board', require('./index'));
router.get('/:board?', require('./index'));
};