fix: wrong doc link of beijing municipal health commission (#3959)

This commit is contained in:
Luyu Huang 2020-02-15 19:04:43 +08:00 committed by GitHub
parent eab64f3e59
commit baa63ecef4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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',
},

View File

@ -26,7 +26,7 @@ const config = {
module.exports = async (ctx) => {
const cfg = config[ctx.params.caty];
if (!cfg) {
throw Error('Bad category. See <a href="https://docs.rsshub.app/government.html#zhong-yang-ji-wei-guo-jia-jian-wei">docs</a>');
throw Error('Bad category. See <a href="https://docs.rsshub.app/government.html#bei-jing-shi-wei-sheng-jian-kang-wei-yuan-hui">docs</a>');
}
const current_url = url.resolve(root_url, cfg.link);