feat: update theblockbeats cache key

This commit is contained in:
DIYgod
2024-09-04 01:06:46 +08:00
parent 98ca20567e
commit 93d45aa708
+1 -1
View File
@@ -91,7 +91,7 @@ async function handler(ctx) {
if (channel !== 'newsflash') {
list = await Promise.all(
list.map((item) =>
cache.tryGet(item.link, async () => {
cache.tryGet(`theblockbeats:${item.link}`, async () => {
const response = await ofetch(item.link);
const $ = load(response);
item.description = render({