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:
parent
b73a02bdbf
commit
3e720ec14d
@ -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" {
|
||||||
|
Loading…
Reference in New Issue
Block a user