aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Server/Program.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Jellyfin.Server/Program.cs')
-rw-r--r--Jellyfin.Server/Program.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Jellyfin.Server/Program.cs b/Jellyfin.Server/Program.cs
index c4e3cd726..4048a0d03 100644
--- a/Jellyfin.Server/Program.cs
+++ b/Jellyfin.Server/Program.cs
@@ -268,7 +268,7 @@ namespace Jellyfin.Server
.UseStartup<Startup>();
// Set the root directory for static content, if one exists
- if (!string.IsNullOrEmpty(appHost.ContentRoot))
+ if (appHost.IsHostingContent)
{
webhostBuilder.UseContentRoot(appHost.ContentRoot);
}