Fix V2RayController

This commit is contained in:
H1JK
2022-06-03 05:23:26 +00:00
parent dcf83c0113
commit b1d4911576

View File

@@ -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);
}
}