fix: Converter REALITY security type
This commit is contained in:
parent
4d30788738
commit
431dcfa914
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ func handleVShareLink(names map[string]int, url *url.URL, scheme string, proxy m
|
||||||
proxy["skip-cert-verify"] = false
|
proxy["skip-cert-verify"] = false
|
||||||
proxy["tls"] = false
|
proxy["tls"] = false
|
||||||
tls := strings.ToLower(query.Get("security"))
|
tls := strings.ToLower(query.Get("security"))
|
||||||
if strings.HasSuffix(tls, "tls") {
|
if strings.HasSuffix(tls, "tls") || tls == "reality" {
|
||||||
proxy["tls"] = true
|
proxy["tls"] = true
|
||||||
if fingerprint := query.Get("fp"); fingerprint == "" {
|
if fingerprint := query.Get("fp"); fingerprint == "" {
|
||||||
proxy["client-fingerprint"] = "chrome"
|
proxy["client-fingerprint"] = "chrome"
|
||||||
|
|
Loading…
Reference in a new issue