mirror of
https://git.mirrors.martin98.com/https://github.com/sub-store-org/Sub-Store.git
synced 2025-09-13 11:23:16 +08:00
Fixed targetPlatform parameter not working on collections
Bug fixed
This commit is contained in:
parent
3ce237d722
commit
063cbee198
@ -966,7 +966,8 @@ function service() {
|
||||
// apply processors
|
||||
currentProxies = await ProxyUtils.process(
|
||||
currentProxies,
|
||||
sub.process || []
|
||||
sub.process || [],
|
||||
platform
|
||||
);
|
||||
}
|
||||
// merge
|
||||
@ -979,7 +980,7 @@ function service() {
|
||||
}
|
||||
if (!noProcessor) {
|
||||
// apply own processors
|
||||
proxies = await ProxyUtils.process(proxies, collection.process || []);
|
||||
proxies = await ProxyUtils.process(proxies, collection.process || [], platform);
|
||||
}
|
||||
if (proxies.length === 0) {
|
||||
throw new Error(`组合订阅中不含有效节点!`);
|
||||
|
4
backend/sub-store.min.js
vendored
4
backend/sub-store.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user