fix: flexible cipher for Loon

This commit is contained in:
xream
2023-08-15 21:22:33 +08:00
parent 090d8a978f
commit 4a0319e95f

View File

@@ -127,9 +127,7 @@ function trojan(proxy) {
function vmess(proxy) {
const result = new Result(proxy);
result.append(
`${proxy.name}=vmess,${proxy.server},${proxy.port},${
proxy.cipher === 'auto' ? 'none' : proxy.cipher
},"${proxy.uuid}"`,
`${proxy.name}=vmess,${proxy.server},${proxy.port},${proxy.cipher},"${proxy.uuid}"`,
);
// transport