From 05dad73c58ff9e1ea421882b1b7e3df7fc5a3773 Mon Sep 17 00:00:00 2001 From: huangxd- <649924757@qq.com> Date: Sat, 15 Nov 2025 09:58:24 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D.cahce=E7=BC=93=E5=AD=98?= =?UTF-8?q?=E4=B8=8D=E9=80=82=E9=85=8D=E4=BA=91=E9=83=A8=E7=BD=B2=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- danmu_api/worker.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/danmu_api/worker.js b/danmu_api/worker.js index 6bd5f8c..3e4b2cf 100644 --- a/danmu_api/worker.js +++ b/danmu_api/worker.js @@ -16,7 +16,9 @@ async function handleRequest(req, env, deployPlatform, clientIp) { let path = url.pathname; const method = req.method; - judgeLocalCacheValid(path), + if (deployPlatform === "node") { + judgeLocalCacheValid(path); + } await judgeRedisValid(path); log("info", `request url: ${JSON.stringify(url)}`);