mirror of
https://github.com/sub-store-org/Sub-Store.git
synced 2025-08-10 00:52:40 +00:00
Fixed targetPlatform parameter not working on collections
Bug fixed
This commit is contained in:
@@ -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
Reference in New Issue
Block a user