We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0f8b9f6 commit 23488a1Copy full SHA for 23488a1
src/VKProxy.Cli/Args.cs
@@ -32,6 +32,10 @@ public Args(string[] args)
32
private void LoadFromEnv()
33
{
34
this.EtcdOptions = EtcdHostBuilderExtensions.LoadEtcdProxyConfigSourceOptionsFromEnv();
35
+ if (!this.EtcdOptions.Address.IsNullOrEmpty())
36
+ {
37
+ UseEtcd = true;
38
+ }
39
Config = Environment.GetEnvironmentVariable("VKPROXY_CONFIG");
40
UseSocks5 = bool.TryParse(Environment.GetEnvironmentVariable("VKPROXY_SOCKS5"), out var useSocks5) && useSocks5;
41
}
0 commit comments