mirror of
https://github.com/bolucat/Archive.git
synced 2026-04-23 00:17:16 +08:00
Update On Tue Apr 8 20:36:48 CEST 2025
This commit is contained in:
@@ -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 = ""
|
||||
|
||||
Reference in New Issue
Block a user