aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Server/Program.cs
diff options
context:
space:
mode:
authorJoshua M. Boniface <joshua@boniface.me>2020-09-04 10:30:13 -0400
committerGitHub <noreply@github.com>2020-09-04 10:30:13 -0400
commit376e4793e610838fc05db7fdd0372e5b7e6cb2d6 (patch)
tree35c00381359e02bca6d8869d66612ce89a008949 /Jellyfin.Server/Program.cs
parent559a7fc336a022c92f63a8d77b6eb3c2f915c290 (diff)
parent021e218f754af8a1cf7f35e2a1d8286e813884e1 (diff)
Merge pull request #4035 from crobibero/api-doc-base-url
Fix apidoc routes with base url
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 b9a90f9db..45959aec2 100644
--- a/Jellyfin.Server/Program.cs
+++ b/Jellyfin.Server/Program.cs
@@ -169,7 +169,7 @@ namespace Jellyfin.Server
// If hosting the web client, validate the client content path
if (startupConfig.HostWebClient())
{
- string? webContentPath = DashboardController.GetWebClientUiPath(startupConfig, appHost.ServerConfigurationManager);
+ string? webContentPath = appHost.ServerConfigurationManager.ApplicationPaths.WebPath;
if (!Directory.Exists(webContentPath) || Directory.GetFiles(webContentPath).Length == 0)
{
throw new InvalidOperationException(