refactor: make proxy group lowest latency item when sorting by latency
This commit is contained in:
parent
eb28e99f2b
commit
f1d0714f19
1 changed files with 1 additions and 1 deletions
|
@ -94,7 +94,7 @@ const getSortDelay = (d, proxyInfo) => {
|
|||
}
|
||||
|
||||
const type = proxyInfo && proxyInfo.type;
|
||||
if (type && NonProxyTypes.indexOf(type) > -1) return 999998;
|
||||
if (type && NonProxyTypes.indexOf(type) > -1) return -1;
|
||||
|
||||
return 999999;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue