Skip to content

Commit

Permalink
fix vless
Browse files Browse the repository at this point in the history
  • Loading branch information
Toperlock committed Sep 2, 2024
1 parent 21caa60 commit c9379b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion parsers/vless.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def parse(data):
'type':'ws',
"path": netquery.get('path', '/').rsplit("?ed=", 1)[0] if matches else netquery.get('path', '/'),
"headers": {
"Host": '' if netquery.get('obfsParam') is None and netquery.get('sni') == 'None' else netquery.get('sni', netquery.get('obfsParam'))
"Host": '' if netquery.get('obfsParam') is None and netquery.get('sni') == 'None' else netquery.get('peer', netquery.get('obfsParam'))
}
}
if node.get('tls'):
Expand Down

0 comments on commit c9379b2

Please sign in to comment.