fix: 修复响应头缓存

This commit is contained in:
xream
2024-01-14 23:44:15 +08:00
parent 1436d4bd4e
commit a2272de03f
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) {