mirror of
https://github.com/DIYgod/RSSHub.git
synced 2025-12-09 06:30:40 +08:00
feat: use contentExpire
This commit is contained in:
@@ -31,7 +31,7 @@ module.exports = async (ctx) => {
|
||||
const $ = cheerio.load(data);
|
||||
item.pubDate = $('time').attr('datetime');
|
||||
item.description = $('.post-body').html();
|
||||
ctx.cache.set(key, item.description, 6 * 60 * 60);
|
||||
ctx.cache.set(key, item.description);
|
||||
}
|
||||
return Promise.resolve(item);
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user