fix(proxy): merge static and provider entries in snapshot; fix Virtuoso viewport height

This commit is contained in:
Slinetrac
2025-10-24 21:48:54 +08:00
parent ead312090d
commit 89d7c7c3e5
2 changed files with 11 additions and 10 deletions
+4 -5
View File
@@ -66,11 +66,10 @@ const parseProxyGroup = (
const name = entry.name;
if (!name) return null;
const rawList: unknown[] = Array.isArray(entry.proxies)
? entry.proxies
: Array.isArray(entry.use)
? entry.use
: [];
const rawList: unknown[] = [
...(Array.isArray(entry.proxies) ? entry.proxies : []),
...(Array.isArray(entry.use) ? entry.use : []),
];
const uniqueNames = Array.from(
new Set(