aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Server/Program.cs
diff options
context:
space:
mode:
authorMark Monteiro <marknr.monteiro@protonmail.com>2020-03-15 13:00:14 +0100
committerMark Monteiro <marknr.monteiro@protonmail.com>2020-03-15 13:00:14 +0100
commit4102e3afd0a9df29faea598769db2212a00d64ce (patch)
treee610ae5f2e6236cefafe318ba65396fd42cef97d /Jellyfin.Server/Program.cs
parent547f248a620c2de61d72703590f9c5c4720ba6e2 (diff)
Rename IsNoWebContent to NoWebContent
Diffstat (limited to 'Jellyfin.Server/Program.cs')
-rw-r--r--Jellyfin.Server/Program.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/Jellyfin.Server/Program.cs b/Jellyfin.Server/Program.cs
index 9450fee70..6412db751 100644
--- a/Jellyfin.Server/Program.cs
+++ b/Jellyfin.Server/Program.cs
@@ -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())