feat: Added support for scy of VMESS URI

This commit is contained in:
xream
2023-08-15 18:15:04 +08:00
parent bc9fae6062
commit 090d8a978f
2 changed files with 2 additions and 2 deletions

View File

@@ -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,