From 090d8a978fa489d92f9b822e5ebd32463419e3a2 Mon Sep 17 00:00:00 2001 From: xream Date: Tue, 15 Aug 2023 18:15:04 +0800 Subject: [PATCH] feat: Added support for scy of VMESS URI --- backend/package.json | 2 +- backend/src/core/proxy-utils/parsers/index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/package.json b/backend/package.json index d1e245d..ef89c0a 100644 --- a/backend/package.json +++ b/backend/package.json @@ -1,6 +1,6 @@ { "name": "sub-store", - "version": "2.14.11", + "version": "2.14.12", "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 ffa6fc4..39c20a5 100644 --- a/backend/src/core/proxy-utils/parsers/index.js +++ b/backend/src/core/proxy-utils/parsers/index.js @@ -216,7 +216,7 @@ function URI_VMess() { type: 'vmess', server: params.add, port: params.port, - cipher: 'auto', // V2rayN has no default cipher! use aes-128-gcm as default. + cipher: getIfPresent(params.scy, 'auto'), uuid: params.id, alterId: getIfPresent(params.aid, 0), tls: params.tls === 'tls' || params.tls === true,