Skip to content

Commit

Permalink
Update tuic.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Toperlock authored Oct 1, 2023
1 parent 4b4c5b8 commit 32a2a1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion parsers/tuic.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def parse(data):
'heartbeat': '10s',
'tls': {
'enabled': True,
'alpn': netquery.get('alpn').strip('{}').split(',')
'alpn': (netquery.get('alpn') or "h3").strip('{}').split(',')
}
}
if netquery.get('allow_insecure') and netquery['allow_insecure'] == '1' :
Expand Down

0 comments on commit 32a2a1e

Please sign in to comment.