fix: vmess/vless quic 缺少 tls 配置

This commit is contained in:
2024-03-20 20:58:38 +08:00
committed by Nite07
parent 43f7a1ed4e
commit 86885f6b47
2 changed files with 11 additions and 10 deletions

View File

@@ -109,6 +109,9 @@ func ParseVless(proxy string) (model2.Proxy, error) {
Type: "quic",
QUICOptions: model2.V2RayQUICOptions{},
}
result.VLESS.TLS = &model2.OutboundTLSOptions{
Enabled: true,
}
}
if params.Get("type") == "grpc" {
result.VLESS.Transport = &model2.V2RayTransportOptions{