mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-09-24 23:12:34 +08:00
style: auto format
This commit is contained in:
@@ -74,7 +74,7 @@ module.exports = async (ctx) => {
|
||||
}
|
||||
} else {
|
||||
href = item.find('a').attr('href');
|
||||
if (href.startsWith(".")) {
|
||||
if (href.startsWith('.')) {
|
||||
href = href.slice(1);
|
||||
}
|
||||
contentUrl = href.startsWith('/') ? `http://www.gov.cn${href}` : href;
|
||||
|
||||
Reference in New Issue
Block a user