mirror of
https://github.com/sub-store-org/Sub-Store.git
synced 2026-11-30 08:28:10 +00:00
feat: 以 #noFlow 结尾的远程链接不查询订阅流量信息
This commit is contained in:
1 parent
f9eae3ec10
commit
b879d16442
1 file changed
+3
@@ -10,6 +10,9 @@ export function getFlowField(headers) {
|
||||
return headers[subkey];
|
||||
}
|
||||
export async function getFlowHeaders(url, ua, timeout) {
|
||||
if (url.endsWith('#noFlow')) {
|
||||
return;
|
||||
}
|
||||
let $arguments = {};
|
||||
const rawArgs = url.split('#');
|
||||
if (rawArgs.length > 1) {
|
||||
|
||||
Reference in new issue
Block a user