Skip to content

Commit 4a9174a

Browse files
committed
fix vless client
1 parent 0b62ece commit 4a9174a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

v2ray_util/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
__version__ = '3.10.0'
1+
__version__ = '3.10.1'
22

33
import sys
44
if "xray" in sys.argv[0]:

v2ray_util/util_core/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def transform(self):
4141
del user_json["users"][0]["alterId"]
4242
del user_json["users"][0]["security"]
4343
user_json["users"][0]["encryption"] = self.node.encryption
44-
if self.node.tls == "xtls":
44+
if self.node.flow:
4545
user_json["users"][0]["flow"] = self.node.flow
4646
self.client_config["outbounds"][0]["protocol"] = "vless"
4747

0 commit comments

Comments
 (0)