From 812f24d10287b994053e8fccdbf158a54ced7752 Mon Sep 17 00:00:00 2001 From: xream Date: Tue, 16 Jan 2024 07:07:55 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BB=A5=20#noFlow=20=E7=BB=93?= =?UTF-8?q?=E5=B0=BE=E7=9A=84=E8=BF=9C=E7=A8=8B=E9=93=BE=E6=8E=A5=E4=B8=8D?= =?UTF-8?q?=E6=9F=A5=E8=AF=A2=E8=AE=A2=E9=98=85=E6=B5=81=E9=87=8F=E4=BF=A1?= =?UTF-8?q?=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/src/utils/flow.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/backend/src/utils/flow.js b/backend/src/utils/flow.js index 71beed3..c0195ac 100644 --- a/backend/src/utils/flow.js +++ b/backend/src/utils/flow.js @@ -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) {