mirror of
https://github.com/DIYgod/RSSHub.git
synced 2025-12-19 06:38:55 +08:00
feat: use contentExpire
This commit is contained in:
@@ -37,7 +37,7 @@ module.exports = async (ctx) => {
|
||||
}
|
||||
});
|
||||
item.description = $('.article-content').html() || '内容已删除或未通过审核';
|
||||
ctx.cache.set(key, item.description, 12 * 60 * 60);
|
||||
ctx.cache.set(key, item.description);
|
||||
}
|
||||
|
||||
return Promise.resolve(item);
|
||||
|
||||
Reference in New Issue
Block a user