Skip to content

Commit

Permalink
Update vmess.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Toperlock authored Nov 26, 2023
1 parent 7377588 commit 0a686ed
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion parsers/vmess.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,10 @@ def parse(data):
}
if item.get('sni'):
node['tls']['server_name'] = item['sni']
if item.get('fp'):
node['tls']['utls'] = {
'enabled': True,
'fingerprint': item.get('fp', '')
'fingerprint': item['fp']
}
if item.get("net"):
if item['net'] in ['h2', 'http']:
Expand Down

0 comments on commit 0a686ed

Please sign in to comment.