Explorar o código

Make use of WebPath

Joshua Boniface %!s(int64=6) %!d(string=hai) anos
pai
achega
25deca9579

+ 1 - 1
Emby.Server.Implementations/ApplicationHost.cs

@@ -621,7 +621,7 @@ namespace Emby.Server.Implementations
             string 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()

+ 1 - 1
MediaBrowser.WebDashboard/Api/DashboardService.cs

@@ -149,7 +149,7 @@ namespace MediaBrowser.WebDashboard.Api
                     return _serverConfigurationManager.Configuration.DashboardSourcePath;
                 }
 
-                return Path.Combine(_serverConfigurationManager.ApplicationPaths.ApplicationResourcesPath, "jellyfin-web", "src");
+                return Path.Combine(_serverConfigurationManager.ApplicationPaths.WebPath, "src");
             }
         }