From 7d8be260a07be415da4def28578ca2ba56df2d69 Mon Sep 17 00:00:00 2001 From: Tianling Shen Date: Wed, 29 Sep 2021 17:20:56 +0800 Subject: [PATCH] luci-app-ssr-plus: fix support for the real sip008 subscription Signed-off-by: Tianling Shen --- luci-app-ssr-plus/root/usr/share/shadowsocksr/subscribe.lua | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/luci-app-ssr-plus/root/usr/share/shadowsocksr/subscribe.lua b/luci-app-ssr-plus/root/usr/share/shadowsocksr/subscribe.lua index 4522160b..7812af15 100755 --- a/luci-app-ssr-plus/root/usr/share/shadowsocksr/subscribe.lua +++ b/luci-app-ssr-plus/root/usr/share/shadowsocksr/subscribe.lua @@ -261,7 +261,6 @@ local function processData(szType, content) end elseif szType == "sip008" then result.type = v2_ss - result.v2ray_protocol = "shadowsocks" result.server = content.server result.server_port = content.server_port result.password = content.password @@ -278,7 +277,6 @@ local function processData(szType, content) end elseif szType == "ssd" then result.type = v2_ss - result.v2ray_protocol = "shadowsocks" result.server = content.server result.server_port = content.port result.password = content.password @@ -498,7 +496,7 @@ local execute = function() nodes = servers -- SS SIP008 直接使用 Json 格式 elseif jsonParse(raw) then - nodes = jsonParse(raw) + nodes = jsonParse(raw).servers or jsonParse(raw) if nodes[1].server and nodes[1].method then szType = 'sip008' end