From 28b233b62cb69558bba10baea780a2802dd15bd7 Mon Sep 17 00:00:00 2001 From: xream Date: Fri, 18 Apr 2025 15:04:06 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=20URI=20=E8=BE=93?= =?UTF-8?q?=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/package.json | 2 +- backend/src/core/proxy-utils/producers/uri.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/package.json b/backend/package.json index 035454b..661175c 100644 --- a/backend/package.json +++ b/backend/package.json @@ -1,6 +1,6 @@ { "name": "sub-store", - "version": "2.19.25", + "version": "2.19.26", "description": "Advanced Subscription Manager for QX, Loon, Surge, Stash and Shadowrocket.", "main": "src/main.js", "scripts": { diff --git a/backend/src/core/proxy-utils/producers/uri.js b/backend/src/core/proxy-utils/producers/uri.js index 7413bad..a10c9d0 100644 --- a/backend/src/core/proxy-utils/producers/uri.js +++ b/backend/src/core/proxy-utils/producers/uri.js @@ -12,7 +12,7 @@ export default function URI_Producer() { delete proxy.resolved; delete proxy['no-resolve']; for (const key in proxy) { - if (proxy[key] == null || /^_/i.test(key)) { + if (proxy[key] == null) { delete proxy[key]; } }