mirror of
https://github.com/wyx2685/V2bX.git
synced 2026-02-04 12:40:11 +00:00
add gen X25519 private key
This commit is contained in:
@@ -47,11 +47,6 @@ func migrateOldConfig(c *Conf, old *OldConfig) {
|
||||
if i >= len(old.NodesConfig) {
|
||||
break
|
||||
}
|
||||
// node option
|
||||
if old.NodesConfig[i].ApiConfig.EnableVless {
|
||||
n.ControllerConfig.XrayOptions.EnableVless = true
|
||||
changed = true
|
||||
}
|
||||
// limit config
|
||||
if old.NodesConfig[i].ApiConfig.SpeedLimit != 0 {
|
||||
n.ControllerConfig.LimitConfig.SpeedLimit = old.NodesConfig[i].ApiConfig.SpeedLimit
|
||||
|
||||
Reference in New Issue
Block a user