diff --git a/package/lean/luci-app-ssr-plus/luasrc/view/shadowsocksr/ssrurl.htm b/package/lean/luci-app-ssr-plus/luasrc/view/shadowsocksr/ssrurl.htm index 67aad5f53..778de53bf 100644 --- a/package/lean/luci-app-ssr-plus/luasrc/view/shadowsocksr/ssrurl.htm +++ b/package/lean/luci-app-ssr-plus/luasrc/view/shadowsocksr/ssrurl.htm @@ -221,7 +221,7 @@ var others = serverPart[1].split('?'); var port = others[0] var queryParam = {} - if(others.length > 0) { + if(others.length > 1) { var queryParams = others[1] var queryArray = queryParams.split('&') for (i = 0; i < queryArray.length; i++) {