mirror of
https://git.mirrors.martin98.com/https://github.com/sub-store-org/Sub-Store.git
synced 2026-04-17 10:08:06 +08:00
feat: 文件支持设置代理/策略, 链接支持传入 proxy 参数指定代理/策略; 修复代理/策略优先级
This commit is contained in:
@@ -181,7 +181,7 @@ async function downloadSubscription(req, res) {
|
||||
url,
|
||||
$arguments.flowUserAgent,
|
||||
undefined,
|
||||
sub.proxy,
|
||||
proxy || sub.proxy,
|
||||
$arguments.flowUrl,
|
||||
);
|
||||
if (flowInfo) {
|
||||
@@ -368,7 +368,7 @@ async function downloadCollection(req, res) {
|
||||
url,
|
||||
$arguments.flowUserAgent,
|
||||
undefined,
|
||||
sub.proxy || collection.proxy || proxy,
|
||||
proxy || sub.proxy || collection.proxy,
|
||||
$arguments.flowUrl,
|
||||
);
|
||||
if (flowInfo) {
|
||||
|
||||
Reference in New Issue
Block a user