From 9e64a6848138e21713037c92de008ccef6b12ebc Mon Sep 17 00:00:00 2001 From: xream Date: Thu, 30 May 2024 14:28:02 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20VMess=20URI=20=E8=BE=93=E5=85=A5?= =?UTF-8?q?=E4=BC=A0=E8=BE=93=E5=B1=82=E4=B8=BA=20HTTP=20=E6=97=B6,=20path?= =?UTF-8?q?=20=E9=BB=98=E8=AE=A4=E4=B8=BA=20/?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/package.json | 2 +- backend/src/core/proxy-utils/parsers/index.js | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/backend/package.json b/backend/package.json index 6e8cec51b..d810520a3 100644 --- a/backend/package.json +++ b/backend/package.json @@ -1,6 +1,6 @@ { "name": "sub-store", - "version": "2.14.323", + "version": "2.14.324", "description": "Advanced Subscription Manager for QX, Loon, Surge, Stash and ShadowRocket.", "main": "src/main.js", "scripts": { diff --git a/backend/src/core/proxy-utils/parsers/index.js b/backend/src/core/proxy-utils/parsers/index.js index 7767537f2..a3d71d2ed 100644 --- a/backend/src/core/proxy-utils/parsers/index.js +++ b/backend/src/core/proxy-utils/parsers/index.js @@ -340,6 +340,8 @@ function URI_VMess() { transportPath = Array.isArray(transportPath) ? transportPath[0] : transportPath; + } else { + transportPath = '/'; } } if (transportPath || transportHost) {