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,