mirror of
https://github.com/fw876/helloworld.git
synced 2026-12-06 00:01:06 +00:00
luci-app-ssr-plus: Fix typo erro.
This commit is contained in:
1 parent
29a80666e2
commit
d4dc7e01bb
1 file changed
+2
-2
@@ -381,9 +381,9 @@ function import_ssr_url(btn, urlname, sid) {
|
||||
switch (params.get("type")) {
|
||||
case "ws":
|
||||
if (params.get("security") !== "tls") {
|
||||
setElementValue('cbid.shadowsocksr.' + sid + '.ws_host', params.get("host") ? decodeURIComponent(params.get("host")) : "");
|
||||
document.getElementsByName('cbid.shadowsocksr.' + sid + '.ws_host')[0].value = params.get("host") ? decodeURIComponent(params.get("host")) : "";
|
||||
}
|
||||
setElementValue('cbid.shadowsocksr.' + sid + '.ws_path', params.get("path") ? decodeURIComponent(params.get("path")) : "/");
|
||||
document.getElementsByName('cbid.shadowsocksr.' + sid + '.ws_path')[0].value = params.get("path") ? decodeURIComponent(params.get("path")) : "/";
|
||||
break;
|
||||
case "httpupgrade":
|
||||
if (params.get("security") !== "tls") {
|
||||
|
||||
Reference in new issue
Block a user