The Free Software Media System - Server Backend & API
Make use of WebPath
Joshua Boniface25deca957935
diff --git a/Emby.Server.Implementations/ApplicationHost.cs b/Emby.Server.Implementations/ApplicationHost.csindex ae54606747..05ede0ddab 100644--- a/Emby.Server.Implementations/ApplicationHost.cs+++ b/Emby.Server.Implementations/ApplicationHost.cs@@ -621,7 +621,7 @@ namespace Emby.Server.Implementationsstring contentRoot = ServerConfigurationManager.Configuration.DashboardSourcePath;if (string.IsNullOrEmpty(contentRoot)){- contentRoot = Path.Combine(ServerConfigurationManager.ApplicationPaths.ApplicationResourcesPath, "jellyfin-web", "src");+ contentRoot = Path.Combine(ServerConfigurationManager.ApplicationPaths,WebPath, "src");}var host = new WebHostBuilder()diff --git a/MediaBrowser.WebDashboard/Api/DashboardService.cs b/MediaBrowser.WebDashboard/Api/DashboardService.csindex 531978e1dd..05df54b115 100644--- a/MediaBrowser.WebDashboard/Api/DashboardService.cs+++ b/MediaBrowser.WebDashboard/Api/DashboardService.cs@@ -149,7 +149,7 @@ namespace MediaBrowser.WebDashboard.Apireturn _serverConfigurationManager.Configuration.DashboardSourcePath;}- return Path.Combine(_serverConfigurationManager.ApplicationPaths.ApplicationResourcesPath, "jellyfin-web", "src");+ return Path.Combine(_serverConfigurationManager.ApplicationPaths.WebPath, "src");}}