mirror of
https://github.com/DIYgod/RSSHub.git
synced 2025-12-10 07:12:51 +08:00
feat: use contentExpire
This commit is contained in:
@@ -50,8 +50,8 @@ module.exports = async (ctx) => {
|
||||
.replace(/更新于:/g, '')
|
||||
).toUTCString();
|
||||
|
||||
ctx.cache.set(description_key, single.description, 60 * 60);
|
||||
ctx.cache.set(pubDate_key, single.pubDate, 60 * 60);
|
||||
ctx.cache.set(description_key, single.description);
|
||||
ctx.cache.set(pubDate_key, single.pubDate);
|
||||
}
|
||||
|
||||
return Promise.resolve(single);
|
||||
|
||||
Reference in New Issue
Block a user