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)}`);