mirror of
https://git.mirrors.martin98.com/https://github.com/sub-store-org/Sub-Store.git
synced 2025-08-22 15:19:07 +08:00
feat: 增加节点字段 no-resolve, 可用于跳过域名解析
This commit is contained in:
parent
905a50c0b9
commit
2b9fcb234b
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "sub-store",
|
"name": "sub-store",
|
||||||
"version": "2.14.97",
|
"version": "2.14.98",
|
||||||
"description": "Advanced Subscription Manager for QX, Loon, Surge, Stash and ShadowRocket.",
|
"description": "Advanced Subscription Manager for QX, Loon, Surge, Stash and ShadowRocket.",
|
||||||
"main": "src/main.js",
|
"main": "src/main.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
@ -451,7 +451,9 @@ function ResolveDomainOperator({ provider }) {
|
|||||||
const limit = 15; // more than 20 concurrency may result in surge TCP connection shortage.
|
const limit = 15; // more than 20 concurrency may result in surge TCP connection shortage.
|
||||||
const totalDomain = [
|
const totalDomain = [
|
||||||
...new Set(
|
...new Set(
|
||||||
proxies.filter((p) => !isIP(p.server)).map((c) => c.server),
|
proxies
|
||||||
|
.filter((p) => !isIP(p.server) && !p['no-resolve'])
|
||||||
|
.map((c) => c.server),
|
||||||
),
|
),
|
||||||
];
|
];
|
||||||
const totalBatch = Math.ceil(totalDomain.length / limit);
|
const totalBatch = Math.ceil(totalDomain.length / limit);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user