Make use of WebPath

This commit is contained in:
Joshua Boniface 2019-03-10 16:20:46 -04:00
parent 93d15cd969
commit 25deca9579
2 changed files with 2 additions and 2 deletions

View File

@ -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()

View File

@ -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");
}
}