diff options
| author | crobibero <cody@robibe.ro> | 2020-09-02 08:03:15 -0600 |
|---|---|---|
| committer | crobibero <cody@robibe.ro> | 2020-09-02 08:03:15 -0600 |
| commit | 1feee6f95e00cf579ab16c7ca004947534545d9b (patch) | |
| tree | b3d0e63ed2f163317894c1353b631979bbafb815 /Jellyfin.Server/Program.cs | |
| parent | 0b38ac9a8a141149dfe5531c4f96b4d462939aaa (diff) | |
Properly host static files and set base url
Diffstat (limited to 'Jellyfin.Server/Program.cs')
| -rw-r--r-- | Jellyfin.Server/Program.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Jellyfin.Server/Program.cs b/Jellyfin.Server/Program.cs index 14cc5f4c2..223bb2558 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( |
