fix: 修复响应头缓存

This commit is contained in:
xream 2024-01-14 23:44:15 +08:00
parent ada03be05f
commit f4c4cdba67
No known key found for this signature in database
GPG Key ID: 1D2C5225471789F9
2 changed files with 5 additions and 4 deletions

View File

@ -1,6 +1,6 @@
{
"name": "sub-store",
"version": "2.14.161",
"version": "2.14.162",
"description": "Advanced Subscription Manager for QX, Loon, Surge, Stash and ShadowRocket.",
"main": "src/main.js",
"scripts": {

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) {