aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Server/Program.cs
diff options
context:
space:
mode:
authorBond-009 <bond.009@outlook.com>2021-04-12 15:47:37 +0200
committerGitHub <noreply@github.com>2021-04-12 15:47:37 +0200
commitb94218849c65c5d5912e402d0333201c6bbf11dd (patch)
tree8f20f7802d02894bc91dae5219cca9a97a5a63ea /Jellyfin.Server/Program.cs
parent1361ccd9ea54c521de7b29ebc4d15fb3214c05da (diff)
parenta4ffc7a813389e8cc2e075d3c9e740a66896ad5c (diff)
Merge pull request #5784 from Bond-009/racecondition
Fix random failing of tests
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 4f203b7a9..464e02419 100644
--- a/Jellyfin.Server/Program.cs
+++ b/Jellyfin.Server/Program.cs
@@ -173,7 +173,7 @@ namespace Jellyfin.Server
// If hosting the web client, validate the client content path
if (startupConfig.HostWebClient())
{
- string? webContentPath = appHost.ServerConfigurationManager.ApplicationPaths.WebPath;
+ string? webContentPath = appHost.ConfigurationManager.ApplicationPaths.WebPath;
if (!Directory.Exists(webContentPath) || Directory.GetFiles(webContentPath).Length == 0)
{
throw new InvalidOperationException(