From 32a2a1e61aa76d442e8c9ae0b66f9d896fdab31e Mon Sep 17 00:00:00 2001 From: Dorae <86833913+Toperlock@users.noreply.github.com> Date: Sun, 1 Oct 2023 12:56:01 +0800 Subject: [PATCH] Update tuic.py --- parsers/tuic.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parsers/tuic.py b/parsers/tuic.py index 8a0a7888e..60c54a2bb 100644 --- a/parsers/tuic.py +++ b/parsers/tuic.py @@ -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' :