refactor: make proxy group lowest latency item when sorting by latency

This commit is contained in:
Haishan 2020-06-18 20:50:59 +08:00
parent eb28e99f2b
commit f1d0714f19

View file

@ -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;
};