mirror of
https://git.mirrors.martin98.com/https://github.com/sub-store-org/Sub-Store.git
synced 2025-09-13 15:13:11 +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
|
// apply processors
|
||||||
currentProxies = await ProxyUtils.process(
|
currentProxies = await ProxyUtils.process(
|
||||||
currentProxies,
|
currentProxies,
|
||||||
sub.process || []
|
sub.process || [],
|
||||||
|
platform
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
// merge
|
// merge
|
||||||
@ -979,7 +980,7 @@ function service() {
|
|||||||
}
|
}
|
||||||
if (!noProcessor) {
|
if (!noProcessor) {
|
||||||
// apply own processors
|
// apply own processors
|
||||||
proxies = await ProxyUtils.process(proxies, collection.process || []);
|
proxies = await ProxyUtils.process(proxies, collection.process || [], platform);
|
||||||
}
|
}
|
||||||
if (proxies.length === 0) {
|
if (proxies.length === 0) {
|
||||||
throw new Error(`组合订阅中不含有效节点!`);
|
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