1
0
mirror of https://github.com/nitezs/sub2clash.git synced 2024-12-23 21:44:41 -05:00

🐛 Fix vless parser lost fingerprint

This commit is contained in:
Nite07 2024-05-06 02:08:12 +08:00
parent b73a02bdbf
commit 3e720ec14d

View File

@ -105,7 +105,7 @@ func ParseVless(proxy string) (model.Proxy, error) {
result.Alpn = alpn result.Alpn = alpn
result.Sni = sni result.Sni = sni
result.AllowInsecure = insecureBool result.AllowInsecure = insecureBool
result.Fingerprint = fp result.ClientFingerprint = fp
} }
if security == "reality" { if security == "reality" {
@ -115,6 +115,7 @@ func ParseVless(proxy string) (model.Proxy, error) {
PublicKey: pbk, PublicKey: pbk,
ShortID: sid, ShortID: sid,
} }
result.ClientFingerprint = fp
} }
if _type == "ws" { if _type == "ws" {