Update Program.cs

This commit is contained in:
Derek S 2022-01-06 14:12:43 -06:00
parent 844f217860
commit 9957fa5f9a

View file

@ -25,7 +25,7 @@ namespace LightReflectiveMirror
GetPublicIP();
bool noConfig = bool.TryParse(Environment.GetEnvironmentVariable("NO_CONFIG") ?? "false", out noConfig) ? false : noConfig;
bool noConfig = bool.Parse(Environment.GetEnvironmentVariable("NO_CONFIG") ?? "false");
if (!File.Exists(CONFIG_PATH) && !noConfig)
{