Skip to content

Commit

Permalink
block quic share link
Browse files Browse the repository at this point in the history
  • Loading branch information
Jrohy committed Dec 2, 2018
1 parent 2d5aa46 commit 6960206
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion group.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,8 @@ def link(self, ip, port, tls):
"tls": tls
}
json_data = json.dumps(json_dict)
return color_str(Color.GREEN, "vmess://{}".format(bytes.decode(base64.b64encode(bytes(json_data, 'utf-8')))))
result_link = "vmess://{}".format(bytes.decode(base64.b64encode(bytes(json_data, 'utf-8')))) if self.network != 'quic' else ''
return color_str(Color.GREEN, result_link)

class Group:
def __init__(self, ip, port, *, end_port=None, tfo=None, tls="none", dyp=Dyport(), index=0, tag='A'):
Expand Down

0 comments on commit 6960206

Please sign in to comment.