mirror of
https://github.com/shtorm-7/sing-box-extended.git
synced 2026-09-15 21:00:27 +00:00
parser/link: support gecko obfs in hysteria2 links
This commit is contained in:
@@ -39,8 +39,8 @@ func parseHysteria2Link(link string) (option.Outbound, error) {
|
||||
case "down":
|
||||
options.DownMbps, _ = strconv.Atoi(value)
|
||||
case "obfs":
|
||||
if value == "salamander" {
|
||||
Obfs.Type = "salamander"
|
||||
if value == "salamander" || value == "gecko" {
|
||||
Obfs.Type = value
|
||||
options.Obfs = Obfs
|
||||
}
|
||||
case "obfs-password":
|
||||
|
||||
Reference in New Issue
Block a user