mirror of
https://gh.catmak.name/https://github.com/mihomo-party-org/mihomo-party
synced 2025-12-27 05:00:30 +08:00
do not prepend groups
This commit is contained in:
parent
32a1ea5cfb
commit
e122e21693
@ -39,9 +39,6 @@ async function overrideProfile(
|
||||
if (patch.proxies) {
|
||||
patch.proxies = [...patch.proxies, ...(profile.proxies || [])]
|
||||
}
|
||||
if (patch['proxy-groups']) {
|
||||
patch['proxy-groups'] = [...patch['proxy-groups'], ...(profile['proxy-groups'] || [])]
|
||||
}
|
||||
profile = deepMerge(profile, patch)
|
||||
break
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user