diff --git a/assets/radar-rules.js b/assets/radar-rules.js index b78f8019c..ddb9a6340 100644 --- a/assets/radar-rules.js +++ b/assets/radar-rules.js @@ -1241,7 +1241,7 @@ wjw: [ { title: '北京卫生健康委员会', - docs: 'https://docs.rsshub.app/government.html#zhong-yang-ji-wei-guo-jia-jian-wei', + docs: 'https://docs.rsshub.app/government.html#bei-jing-shi-wei-sheng-jian-kang-wei-yuan-hui', source: '/xwzx_20031/:caty', target: '/gov/beijing/mhc/:caty', }, diff --git a/lib/routes/gov/beijing/mhc.js b/lib/routes/gov/beijing/mhc.js index 36db3e197..7c75fdc1a 100644 --- a/lib/routes/gov/beijing/mhc.js +++ b/lib/routes/gov/beijing/mhc.js @@ -26,7 +26,7 @@ const config = { module.exports = async (ctx) => { const cfg = config[ctx.params.caty]; if (!cfg) { - throw Error('Bad category. See docs'); + throw Error('Bad category. See docs'); } const current_url = url.resolve(root_url, cfg.link);