Skip to content

Commit

Permalink
fix(xray): set stream settings security correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
khodedawsh committed Jun 5, 2024
1 parent 999d762 commit 866e3ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion v2share/xray.py
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ def make_stream_settings(
sni=sni, fingerprint=fp, alpn=alpn.split(",") if alpn else None, ais=ais
)
elif tls == "reality":
stream_settings["security"] = "xtls"
stream_settings["security"] = "reality"
stream_settings["realitySettings"] = XrayConfig.reality_config(
pbk, sid, sni, fingerprint=fp
)
Expand Down

0 comments on commit 866e3ef

Please sign in to comment.