mirror of
https://github.com/netchx/netch.git
synced 2026-05-09 22:54:03 +08:00
Fix V2RayController
This commit is contained in:
@@ -31,7 +31,7 @@ public class V2rayController : Guard, IServerController
|
||||
await JsonSerializer.SerializeAsync(fileStream, await V2rayConfigUtils.GenerateClientConfigAsync(s), Global.NewCustomJsonSerializerOptions());
|
||||
}
|
||||
|
||||
await StartGuardAsync("-config ..\\data\\last.json");
|
||||
await StartGuardAsync("run -c ..\\data\\last.json");
|
||||
return new Socks5Server(IPAddress.Loopback.ToString(), this.Socks5LocalPort(), s.Hostname);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user