feat: 支持 hysteria2

This commit is contained in:
xream
2023-09-22 14:43:43 +08:00
parent 7603fac036
commit bc0dd4b175
7 changed files with 23 additions and 6 deletions

View File

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