mirror of
https://github.com/2dust/v2rayN.git
synced 2026-02-28 05:03:02 +00:00
Fix hy2 migrate
This commit is contained in:
parent
0eae23ace0
commit
2c454aee95
1 changed files with 5 additions and 0 deletions
|
|
@ -306,6 +306,11 @@ public sealed class AppManager
|
|||
case EConfigType.VMess:
|
||||
extra.VmessSecurity = item.Security.IsNotEmpty() ? item.Security : null;
|
||||
break;
|
||||
case EConfigType.Hysteria2:
|
||||
extra.UpMbps = _config.HysteriaItem.UpMbps;
|
||||
extra.DownMbps = _config.HysteriaItem.DownMbps;
|
||||
extra.HopInterval = _config.HysteriaItem.HopInterval;
|
||||
break;
|
||||
case EConfigType.WireGuard:
|
||||
extra.WgPublicKey = item.PublicKey.IsNotEmpty() ? item.PublicKey : null;
|
||||
extra.WgInterfaceAddress = item.RequestHost.IsNotEmpty() ? item.RequestHost : null;
|
||||
|
|
|
|||
Loading…
Reference in a new issue