feat: 通过代理/节点/策略获取订阅 现已支持 Surge, Loon, Stash, Shadowrocket, QX, Node.js

This commit is contained in:
xream
2024-03-14 01:28:05 +08:00
parent 3637c5eb74
commit 25d3cf6ca4
4 changed files with 25 additions and 13 deletions

View File

@@ -316,6 +316,7 @@ export function HTTP(defaultOptions = { baseURL: '' }) {
url: options.url,
headers: options.headers,
body: options.body,
opts: options.opts,
});
} else if (isLoon || isSurge || isNode) {
worker = new Promise((resolve, reject) => {