1
0
mirror of https://github.com/kenzok8/small-package synced 2025-11-18 01:01:34 +08:00

update-09.30

This commit is contained in:
github-actions[bot]
2021-09-30 20:30:49 +08:00
parent 8f1218ded8
commit e1e4efb32f
9 changed files with 32 additions and 56 deletions

View File

@@ -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