From 27fa8aca1588880e564ad2acf0d88ab2f34ba24d Mon Sep 17 00:00:00 2001 From: xream Date: Tue, 25 Mar 2025 23:35:23 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20VLESS=20=E5=85=BC=E5=AE=B9=20Shadowrock?= =?UTF-8?q?et=20=E4=BC=A0=E8=BE=93=E5=B1=82=20none?= 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 | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/backend/package.json b/backend/package.json index 90b0403..4d89865 100644 --- a/backend/package.json +++ b/backend/package.json @@ -1,6 +1,6 @@ { "name": "sub-store", - "version": "2.19.6", + "version": "2.19.7", "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 436eb4d..67cf682 100644 --- a/backend/src/core/proxy-utils/parsers/index.js +++ b/backend/src/core/proxy-utils/parsers/index.js @@ -634,6 +634,9 @@ function URI_VLESS() { } if (!proxy.network && isShadowrocket && params.obfs) { proxy.network = params.obfs; + if (['none'].includes(proxy.network)) { + proxy.network = 'tcp'; + } } if (['websocket'].includes(proxy.network)) { proxy.network = 'ws';