mirror of
https://git.mirrors.martin98.com/https://github.com/sub-store-org/Sub-Store.git
synced 2025-08-13 19:56:00 +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"
|
||||
};
|
||||
|
||||
let output = `${TRANSFORM[rule.type] || rule.type},${rule.content}`;
|
||||
if (rule.type === "IP-CIDR" || rule.type === "IP-CIDR6") {
|
||||
output += rule.options ? `,${rule.options[0]}` : "";
|
||||
}
|
||||
output += ",SUB-STORE"
|
||||
return output;
|
||||
// QX does not support the no-resolve option
|
||||
return `${TRANSFORM[rule.type] || rule.type},${rule.content},SUB-STORE`;
|
||||
}
|
||||
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