1
0
mirror of https://github.com/bitwarden/server.git synced 2024-11-25 12:45:18 +01:00

fix null or whitespace logic

This commit is contained in:
Kyle Spearrin 2020-11-04 16:15:38 -05:00
parent d2ab098ca5
commit dacb2a8e2b

View File

@ -24,7 +24,7 @@ namespace Bit.Server
.ConfigureKestrel((context, options) => { });
var contentRoot = config.GetValue<string>("contentRoot");
if (string.IsNullOrWhiteSpace(contentRoot))
if (!string.IsNullOrWhiteSpace(contentRoot))
{
builder.UseContentRoot(contentRoot);
}