修复.cahce缓存不适配云部署的问题
This commit is contained in:
1 parent
1be823695a
commit
05dad73c58
1 file changed
+3
-1
+3
-1
@@ -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)}`);
|
||||
|
||||
Reference in new issue
Block a user