mirror of
https://git.mirrors.martin98.com/https://github.com/sub-store-org/Sub-Store.git
synced 2025-08-14 22:05:54 +08:00
修复QX IP-CIDR分流no-resolve解析不正确的问题
This commit is contained in:
parent
99514f521b
commit
eef1559706
@ -2743,12 +2743,8 @@ var RuleUtils = (function () {
|
|||||||
"IP-CIDR6": "IP6-CIDR"
|
"IP-CIDR6": "IP6-CIDR"
|
||||||
};
|
};
|
||||||
|
|
||||||
let output = `${TRANSFORM[rule.type] || rule.type},${rule.content}`;
|
// QX does not support the no-resolve option
|
||||||
if (rule.type === "IP-CIDR" || rule.type === "IP-CIDR6") {
|
return `${TRANSFORM[rule.type] || rule.type},${rule.content},SUB-STORE`;
|
||||||
output += rule.options ? `,${rule.options[0]}` : "";
|
|
||||||
}
|
|
||||||
output += ",SUB-STORE"
|
|
||||||
return output;
|
|
||||||
}
|
}
|
||||||
return {type, func};
|
return {type, func};
|
||||||
}
|
}
|
||||||
|
4
backend/sub-store.min.js
vendored
4
backend/sub-store.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user