From 34760afe77e44e2f4bddb4999212e92c55d5c8fe Mon Sep 17 00:00:00 2001 From: "nicolas.dorier" Date: Sun, 17 Dec 2017 22:50:05 +0900 Subject: [PATCH] Do not show release in footer if compiled in release --- BTCPayServer/Services/BTCPayServerEnvironment.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BTCPayServer/Services/BTCPayServerEnvironment.cs b/BTCPayServer/Services/BTCPayServerEnvironment.cs index bc98cbd7f..33793c9dc 100644 --- a/BTCPayServer/Services/BTCPayServerEnvironment.cs +++ b/BTCPayServer/Services/BTCPayServerEnvironment.cs @@ -36,7 +36,7 @@ namespace BTCPayServer.Services { StringBuilder txt = new StringBuilder(); txt.Append($"@Copyright BTCPayServer v{Version}"); - if (!Environment.IsProduction() || Build.Equals("Release", StringComparison.OrdinalIgnoreCase)) + if (!Environment.IsProduction() || !Build.Equals("Release", StringComparison.OrdinalIgnoreCase)) { txt.Append($" Environment: {Environment.EnvironmentName} Build: {Build}"); }