mirror of
https://github.com/wyx2685/V2bX.git
synced 2026-02-04 20:50:09 +00:00
support hysteria for sing, remove hy core
This commit is contained in:
@@ -226,6 +226,15 @@ func getInboundOptions(tag string, info *panel.NodeInfo, c *conf.Options) (optio
|
||||
in.TrojanOptions.FallbackForALPN = fallbackForALPN
|
||||
}
|
||||
}
|
||||
case "hysteria":
|
||||
in.Type = "hysteria"
|
||||
in.HysteriaOptions = option.HysteriaInboundOptions{
|
||||
ListenOptions: listen,
|
||||
UpMbps: info.UpMbps,
|
||||
DownMbps: info.DownMbps,
|
||||
Obfs: info.HyObfs,
|
||||
TLS: &tls,
|
||||
}
|
||||
}
|
||||
return in, nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user