Update On Tue Apr 8 20:36:48 CEST 2025

This commit is contained in:
github-action[bot]
2025-04-08 20:36:48 +02:00
parent cc70b50b0e
commit 51f9f82bbb
94 changed files with 1068 additions and 638 deletions
@@ -1223,12 +1223,6 @@ local function processData(szType, content, add_mode, add_from)
end
result.hysteria2_tls_pinSHA256 = params.pinSHA256
if has_hysteria2 then
result.type = "Hysteria2"
if params["obfs-password"] then
result.hysteria2_obfs = params["obfs-password"]
end
end
if hysteria2_type_default == "sing-box" and has_singbox then
result.type = 'sing-box'
result.protocol = "hysteria2"
@@ -1236,6 +1230,13 @@ local function processData(szType, content, add_mode, add_from)
result.hysteria2_obfs_type = "salamander"
result.hysteria2_obfs_password = params["obfs-password"]
end
result.hysteria2_ports = params.mport
elseif has_hysteria2 then
result.type = "Hysteria2"
if params["obfs-password"] then
result.hysteria2_obfs = params["obfs-password"]
end
result.hysteria2_hop = params.mport
end
elseif szType == 'tuic' then
local alias = ""