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