Fixed QX vmess method auto

This commit is contained in:
Peng-YM
2022-06-16 18:47:40 +08:00
parent 4b73a1494b
commit 1b526414cd
9 changed files with 30 additions and 11 deletions

View File

@@ -154,7 +154,12 @@ function vmess(proxy) {
const appendIfPresent = result.appendIfPresent.bind(result);
append(`vmess=${proxy.server}:${proxy.port}`);
append(`,method=${proxy.cipher}`);
if (proxy.cipher === 'auto') {
append(`,method=none`);
} else {
append(`,method=${proxy.cipher}`);
}
append(`,password=${proxy.uuid}`);
// obfs