Skip to content

Commit

Permalink
Merge pull request Jrohy#583 from Radium-bit/master
Browse files Browse the repository at this point in the history
Fix trojan share problem.
  • Loading branch information
Jrohy authored Apr 15, 2022
2 parents 6a065fa + 0b15409 commit 083dabb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion v2ray_util/util_core/group.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def __str__(self):
return "Password: {password}\n".format(password=self.password)

def link(self, ip, port, tls):
return ColorStr.green("trojan://{0}@{1}:{2}".format(self.password, ip, port))
return ColorStr.green("trojan://{0}@{1}:{2}#{1}:{2}".format(self.password, ip, port))

def stream(self):
return "trojan"
Expand Down

0 comments on commit 083dabb

Please sign in to comment.