mirror of
https://git.mirrors.martin98.com/https://github.com/sub-store-org/Sub-Store.git
synced 2025-08-10 12:08:58 +08:00
fix: 修复过滤非法节点功能
This commit is contained in:
parent
b19b49d2fa
commit
c5b11f8b36
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "sub-store",
|
||||
"version": "2.14.206",
|
||||
"version": "2.14.207",
|
||||
"description": "Advanced Subscription Manager for QX, Loon, Surge, Stash and ShadowRocket.",
|
||||
"main": "src/main.js",
|
||||
"scripts": {
|
||||
|
@ -87,7 +87,9 @@ function QuickSettingOperator(args) {
|
||||
if (get(args.useless)) {
|
||||
const filter = UselessFilter();
|
||||
const selected = filter.func(proxies);
|
||||
proxies.filter((_, i) => selected[i]);
|
||||
proxies = proxies.filter(
|
||||
(p, i) => selected[i] && p.port > 0 && p.port <= 65535,
|
||||
);
|
||||
}
|
||||
|
||||
return proxies.map((proxy) => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user