feat: 手动设置的订阅流量信息会附加到订阅自己的流量信息之前

This commit is contained in:
xream
2024-11-17 22:53:22 +08:00
parent dea937df66
commit bc1247efaf
4 changed files with 49 additions and 55 deletions

View File

@@ -205,7 +205,7 @@ export function parseFlowHeaders(flowHeaders) {
: undefined;
const appUrlMatch = flowHeaders.match(/app_url=(.*?)\s*?(;|$)/);
const appUrl = appUrlMatch ? appUrlMatch[1] : undefined;
const appUrl = appUrlMatch ? decodeURIComponent(appUrlMatch[1]) : undefined;
const planNameMatch = flowHeaders.match(/plan_name=(.*?)\s*?(;|$)/);
const planName = planNameMatch