feat: hysteria

This commit is contained in:
xream
2023-08-25 16:19:00 +08:00
parent 9cbbd0e86f
commit 4c6ba2cdc8
6 changed files with 50 additions and 3 deletions

View File

@@ -188,6 +188,8 @@ function lastParse(proxy) {
if (proxy.network === 'tcp') {
delete proxy.network;
}
}
if (['trojan', 'tuic', 'hysteria'].includes(proxy.type)) {
proxy.tls = true;
}
if (proxy.tls && !proxy.sni) {