From 1c914daa521828ece0f2205870454bc30e924d49 Mon Sep 17 00:00:00 2001 From: actions-user Date: Sun, 24 Nov 2024 00:14:42 +0800 Subject: [PATCH] update 2024-11-24 00:14:42 --- luci-app-passwall/Makefile | 4 ++-- luci-app-ssr-plus/luasrc/view/shadowsocksr/ssrurl.htm | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/luci-app-passwall/Makefile b/luci-app-passwall/Makefile index 7f75bccdf0..00e53fccab 100644 --- a/luci-app-passwall/Makefile +++ b/luci-app-passwall/Makefile @@ -6,8 +6,8 @@ include $(TOPDIR)/rules.mk PKG_NAME:=luci-app-passwall -PKG_VERSION:=24.11.18 -PKG_RELEASE:=5 +PKG_VERSION:=24.11.23 +PKG_RELEASE:=1 PKG_CONFIG_DEPENDS:= \ CONFIG_PACKAGE_$(PKG_NAME)_Iptables_Transparent_Proxy \ diff --git a/luci-app-ssr-plus/luasrc/view/shadowsocksr/ssrurl.htm b/luci-app-ssr-plus/luasrc/view/shadowsocksr/ssrurl.htm index c81590ef69..0e19670446 100644 --- a/luci-app-ssr-plus/luasrc/view/shadowsocksr/ssrurl.htm +++ b/luci-app-ssr-plus/luasrc/view/shadowsocksr/ssrurl.htm @@ -259,11 +259,12 @@ if (ssm.net == "tcp") { if (ssm.type && ssm.type != "http") { ssm.type = "none" + } else { + document.getElementsByName('cbid.shadowsocksr.' + sid + '.http_host')[0].value = ssm.host; + document.getElementsByName('cbid.shadowsocksr.' + sid + '.http_path')[0].value = ssm.path; } document.getElementsByName('cbid.shadowsocksr.' + sid + '.tcp_guise')[0].value = ssm.type; document.getElementsByName('cbid.shadowsocksr.' + sid + '.tcp_guise')[0].dispatchEvent(event); - document.getElementsByName('cbid.shadowsocksr.' + sid + '.http_host')[0].value = ssm.host; - document.getElementsByName('cbid.shadowsocksr.' + sid + '.http_path')[0].value = ssm.path; } if (ssm.net == "ws") { document.getElementsByName('cbid.shadowsocksr.' + sid + '.ws_host')[0].value = ssm.host;