From 93d45aa7089d0ffcee3677077d4b57df6738a18f Mon Sep 17 00:00:00 2001 From: DIYgod Date: Wed, 4 Sep 2024 01:06:46 +0800 Subject: [PATCH] feat: update theblockbeats cache key --- lib/routes/theblockbeats/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/routes/theblockbeats/index.ts b/lib/routes/theblockbeats/index.ts index 472dbf64e..1fced055b 100644 --- a/lib/routes/theblockbeats/index.ts +++ b/lib/routes/theblockbeats/index.ts @@ -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({