mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-27 03:04:49 +03:00
Added IAppHost.Name
This commit is contained in:
@@ -185,6 +185,18 @@ namespace MediaBrowser.ServerApplication
|
||||
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets the name.
|
||||
/// </summary>
|
||||
/// <value>The name.</value>
|
||||
public override string Name
|
||||
{
|
||||
get
|
||||
{
|
||||
return "Media Browser Server";
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a value indicating whether this instance can self restart.
|
||||
/// </summary>
|
||||
@@ -732,7 +744,7 @@ namespace MediaBrowser.ServerApplication
|
||||
{
|
||||
ServerAuthorization.AuthorizeServer(
|
||||
ServerConfigurationManager.Configuration.HttpServerPortNumber,
|
||||
HttpServerUrlPrefixes.First(),
|
||||
HttpServerUrlPrefixes.First(),
|
||||
ServerConfigurationManager.Configuration.LegacyWebSocketPortNumber,
|
||||
UdpServerEntryPoint.PortNumber,
|
||||
ConfigurationManager.CommonApplicationPaths.TempDirectory);
|
||||
|
||||
Reference in New Issue
Block a user