diff --git a/luci-app-ssr-plus/luasrc/view/shadowsocksr/ssrurl.htm b/luci-app-ssr-plus/luasrc/view/shadowsocksr/ssrurl.htm index 6c11562bc93..2607fb70848 100644 --- a/luci-app-ssr-plus/luasrc/view/shadowsocksr/ssrurl.htm +++ b/luci-app-ssr-plus/luasrc/view/shadowsocksr/ssrurl.htm @@ -242,7 +242,7 @@ document.getElementsByName('cbid.shadowsocksr.' + sid + '.transport')[0].value = params.get("type") == "http" ? "h2" : (["tcp", "raw"].includes(params.get("type")) ? "raw" : - (params.get("type") || "tcp")); + (params.get("type") || "raw")); document.getElementsByName('cbid.shadowsocksr.' + sid + '.transport')[0].dispatchEvent(event); switch (params.get("type")) { case "ws": @@ -474,4 +474,4 @@ -<%+cbi/valuefooter%> \ No newline at end of file +<%+cbi/valuefooter%>