luci: fix sing-box TUIC

This commit is contained in:
Gzxhwq 2023-09-09 00:39:34 +08:00 committed by sbwml
parent 90ddafcd14
commit 7ebc1409fb

View File

@ -301,7 +301,7 @@ function gen_outbound(flag, node, tag, proxy_table)
udp_relay_mode = node.tuic_udp_relay_mode or "native",
udp_over_stream = false,
zero_rtt_handshake = (node.tuic_zero_rtt_handshake == "1") and true or false,
heartbeat = tonumber(node.tuic_heartbeat),
heartbeat = node.tuic_heartbeat .. "s",
tls = {
enabled = true,
server_name = node.tls_serverName,