luci-app-ssr-plus: bug fixes
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
This commit is contained in:
parent
f0442438e8
commit
7d245fe3d4
@ -291,7 +291,7 @@ function import_ssr_url(btn, urlname, sid) {
|
||||
document.getElementsByName('cbid.shadowsocksr.' + sid + '.server')[0].value = ssm.add;
|
||||
document.getElementsByName('cbid.shadowsocksr.' + sid + '.server_port')[0].value = ssm.port;
|
||||
document.getElementsByName('cbid.shadowsocksr.' + sid + '.alter_id')[0].value = ssm.aid;
|
||||
document.getElementsByName('cbid.shadowsocksr.' + sid + '.uuid')[0].value = ssm.id;
|
||||
document.getElementsByName('cbid.shadowsocksr.' + sid + '.vmess_id')[0].value = ssm.id;
|
||||
document.getElementsByName('cbid.shadowsocksr.' + sid + '.transport')[0].value = ssm.net;
|
||||
document.getElementsByName('cbid.shadowsocksr.' + sid + '.transport')[0].dispatchEvent(event);
|
||||
if (ssm.net == "tcp") {
|
||||
|
||||
@ -617,7 +617,7 @@ load_config() {
|
||||
if [ "$SHUNT_SERVER" == "$GLOBAL_SERVER" ]; then
|
||||
shunt="1"
|
||||
else
|
||||
shunt="$tmp_shunt_dns_port"
|
||||
shunt="$tmp_shunt_port"
|
||||
shunt_config_file=$TMP_PATH/shunt-ssr-retcp.json
|
||||
shunt_dns_config_file=$TMP_PATH/shunt-dns-ssr-plus.json
|
||||
start_shunt
|
||||
|
||||
Loading…
Reference in New Issue
Block a user