fix: 修复响应头缓存

This commit is contained in:
xream
2024-01-14 23:44:15 +08:00
parent ada03be05f
commit f4c4cdba67
2 changed files with 5 additions and 4 deletions

View File

@@ -73,10 +73,11 @@ export async function getFlowHeaders(url, ua, timeout) {
});
flowInfo = getFlowField(headers);
}
if (flowInfo) {
headersResourceCache.set(url, flowInfo);
}
}
if (flowInfo) {
headersResourceCache.set(url, flowInfo);
}
return flowInfo;
}
export function parseFlowHeaders(flowHeaders) {