mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-29 12:14:49 +03:00
Rename IsNoWebContent to NoWebContent
This commit is contained in:
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user