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:
parent
d2ab098ca5
commit
dacb2a8e2b
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user