mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-10-27 00:12:51 +08:00
Update ssr-plus.patch
This commit is contained in:
1 parent
126e5ee37d
commit
e6af4e4f15
1 file changed
-15
@@ -271,21 +271,6 @@ index 000000000000..a00fff9c79b3
|
||||
rm -f /tmp/luci-indexcache /tmp/luci-indexcache.*
|
||||
rm -rf /tmp/luci-modulecache/
|
||||
|
||||
--- a/luci-app-ssr-plus/root/usr/share/shadowsocksr/gen_config.lua
|
||||
+++ b/luci-app-ssr-plus/root/usr/share/shadowsocksr/gen_config.lua
|
||||
@@ -389,10 +389,7 @@ Xray.outbounds = {
|
||||
fingerprint = server.fingerprint,
|
||||
allowInsecure = (function()
|
||||
if server.tls_CertSha and server.tls_CertSha ~= "" then return nil end
|
||||
- if os.date("%Y.%m.%d") < "2026.06.01" then
|
||||
- return server.insecure == "1"
|
||||
- end
|
||||
- return nil
|
||||
+ return server.insecure == "1"
|
||||
end)(),
|
||||
serverName = server.tls_host,
|
||||
certificates = server.certificate and {
|
||||
|
||||
--- a/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client-config.lua
|
||||
+++ b/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client-config.lua
|
||||
@@ -1456,11 +1456,9 @@ o:depends("type", "tuic")
|
||||
|
||||
Reference in new issue
Block a user