mirror of
https://github.com/hanwckf/immortalwrt-mt798x.git
synced 2025-01-09 18:59:13 +08:00
luci-app-ssr-plus: bug fixes
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
This commit is contained in:
parent
33666dc932
commit
7d9674c86e
@ -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…
x
Reference in New Issue
Block a user