From 7ebc1409fbfa8619f9e1493b72bedf197e6ef44f Mon Sep 17 00:00:00 2001 From: Gzxhwq Date: Sat, 9 Sep 2023 00:39:34 +0800 Subject: [PATCH] luci: fix sing-box TUIC --- luci-app-passwall2/luasrc/passwall2/util_sing-box.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/luci-app-passwall2/luasrc/passwall2/util_sing-box.lua b/luci-app-passwall2/luasrc/passwall2/util_sing-box.lua index 98e92e0d0..d83f9e5d3 100644 --- a/luci-app-passwall2/luasrc/passwall2/util_sing-box.lua +++ b/luci-app-passwall2/luasrc/passwall2/util_sing-box.lua @@ -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,