feat: 手动设置流量信息时, 支持使用链接. 此时使用响应内容

This commit is contained in:
xream
2024-12-22 21:57:01 +08:00
parent 0069b0ce83
commit 837667edc9
4 changed files with 88 additions and 5 deletions

View File

@@ -167,6 +167,9 @@ export async function getFlowHeaders(
flowInfo = getFlowField(headers);
}
}
if (flowInfo) {
flowInfo = flowInfo.trim();
}
if (flowInfo) {
headersResourceCache.set(id, flowInfo);
}