Unify parts of the model with MetaCubeX.

This commit is contained in:
2025-06-12 14:19:00 +10:00
parent 0c8bbac2e6
commit f88ae52a29
24 changed files with 590 additions and 353 deletions

View File

@ -84,15 +84,14 @@ func (p *VlessParser) Parse(proxy string) (P.Proxy, error) {
if security == "tls" {
result.TLS = true
result.Alpn = alpn
result.Sni = sni
result.AllowInsecure = insecureBool
result.ALPN = alpn
result.SkipCertVerify = insecureBool
result.ClientFingerprint = fp
}
if security == "reality" {
result.TLS = true
result.Servername = sni
result.ServerName = sni
result.RealityOpts = P.RealityOptions{
PublicKey: pbk,
ShortID: sid,