fix: wrong doc link of beijing municipal health commission (#3959)
This commit is contained in:
parent
eab64f3e59
commit
baa63ecef4
|
|
@ -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',
|
||||
},
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue