style: auto format

This commit is contained in:
github-actions[bot]
2022-05-05 13:49:44 +00:00
parent a6b2f65c5e
commit f3741e8530
5 changed files with 9 additions and 9 deletions
+2 -2
View File
@@ -1693,8 +1693,8 @@ jsjxy.hbut.edu.cn 证书链不全,自建 RSSHub 可设置环境变量 NODE_TLS
<Route author="zefengdaguo" example="/njit/jwc/jx" path="/njit/jwc/:type?" :paramsDesc="['默认为 `jx`']" />
| 教学 | 考试 | 信息 | 实践 |
| ------ | ---- | ---- | ---- |
| 教学 | 考试 | 信息 | 实践 |
| -- | -- | -- | -- |
| jx | ks | xx | sj |
## 南京工业大学
+1 -1
View File
@@ -61,7 +61,7 @@ module.exports = async (ctx) => {
.replace(/src="\//g, `src="${new URL('.', host).href}`)
.replace(/href="\//g, `href="${new URL('.', host).href}`)
.trim(),
pubDate: $('.author p').eq(1).text().replace('时间:', '')
pubDate: $('.author p').eq(1).text().replace('时间:', ''),
};
return single;
});
+1 -1
View File
@@ -1,4 +1,4 @@
module.exports = {
'/tzgg': ['zefengdaguo'],
'/jwc/:type?': ['zefengdaguo'],
};
};
+4 -4
View File
@@ -6,7 +6,7 @@ module.exports = {
title: '南京工程学院教务处',
docs: 'https://docs.rsshub.app/university.html#nan-jing-gong-cheng-xue-yuan-nan-jing-gong-cheng-xue-yuan-jiao-wu-chu',
source: '/index/:type',
target: (params) => `/njit/jwc/${params.type.replace('.htm', '')}`
target: (params) => `/njit/jwc/${params.type.replace('.htm', '')}`,
},
],
www: [
@@ -14,8 +14,8 @@ module.exports = {
title: '南京工程学院通知公告',
docs: 'https://docs.rsshub.app/university.html#nan-jing-gong-cheng-xue-yuan-nan-jing-gong-cheng-xue-yuan-tong-zhi-gong-gao',
source: '/',
target: '/njit/tzgg'
}
]
target: '/njit/tzgg',
},
],
},
};
+1 -1
View File
@@ -1,4 +1,4 @@
module.exports = (router) => {
router.get('/tzgg', require('./tzgg'));
router.get('/jwc/:type?', require('./jwc'));
};
};