Implement review feedback

This commit is contained in:
Joshua Boniface 2019-03-12 09:18:45 -04:00
parent 5f7524aca2
commit 3c4043199a
7 changed files with 10 additions and 10 deletions

View File

@ -36,9 +36,9 @@ namespace Emby.Server.Implementations.AppBase
public string ProgramDataPath { get; private set; }
/// <summary>
/// Gets the path to the web resources folder
/// Gets the path to the web UI resources folder
/// </summary>
/// <value>The web resources path.</value>
/// <value>The web UI resources path.</value>
public string WebPath { get; set; }
/// <summary>

View File

@ -621,7 +621,7 @@ namespace Emby.Server.Implementations
string contentRoot = ServerConfigurationManager.Configuration.DashboardSourcePath;
if (string.IsNullOrEmpty(contentRoot))
{
contentRoot = Path.Combine(ServerConfigurationManager.ApplicationPaths.WebPath, "src");
contentRoot = ServerConfigurationManager.ApplicationPaths.WebPath;
}
var host = new WebHostBuilder()

View File

@ -277,7 +277,7 @@ namespace Jellyfin.Server
if (string.IsNullOrEmpty(webDir))
{
// Use default location under ResourcesPath
webDir = Path.Combine(AppContext.BaseDirectory, "jellyfin-web");
webDir = Path.Combine(AppContext.BaseDirectory, "jellyfin-web", "src");
}
}

View File

@ -11,7 +11,7 @@ namespace Jellyfin.Server
[Option('d', "datadir", Required = false, HelpText = "Path to use for the data folder (database files, etc.).")]
public string DataDir { get; set; }
[Option('w', "webdir", Required = false, HelpText = "Path to the Jellyfin web resources.")]
[Option('w', "webdir", Required = false, HelpText = "Path to the Jellyfin web UI resources.")]
public string WebDir { get; set; }
[Option('C', "cachedir", Required = false, HelpText = "Path to use for caching.")]

View File

@ -12,9 +12,9 @@ namespace MediaBrowser.Common.Configuration
string ProgramDataPath { get; }
/// <summary>
/// Gets the path to the web resources folder
/// Gets the path to the web UI resources folder
/// </summary>
/// <value>The web resources path.</value>
/// <value>The web UI resources path.</value>
string WebPath { get; }
/// <summary>

View File

@ -84,9 +84,9 @@ namespace MediaBrowser.Model.System
public string ProgramDataPath { get; set; }
/// <summary>
/// Gets or sets the web resources path.
/// Gets or sets the web UI resources path.
/// </summary>
/// <value>The web resources path.</value>
/// <value>The web UI resources path.</value>
public string WebPath { get; set; }
/// <summary>

View File

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