Rename IsNoWebContent to NoWebContent

This commit is contained in:
Mark Monteiro
2020-03-15 13:00:14 +01:00
parent 547f248a62
commit 4102e3afd0
3 changed files with 4 additions and 3 deletions

View File

@@ -287,7 +287,8 @@ namespace Jellyfin.Server
})
.UseStartup<Startup>();
if (!startupConfig.IsNoWebContent())
// Set up static content hosting unless it has been disabled via config
if (!startupConfig.NoWebContent())
{
// Fail startup if the web content does not exist
if (!Directory.Exists(appHost.ContentRoot) || !Directory.GetFiles(appHost.ContentRoot).Any())