mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-15 23:02:18 +01:00
Moved server configuration to the model so that the UI can read it
This commit is contained in:
parent
7ad612bb4b
commit
e52833059b
@@ -0,0 +1,17 @@
|
||||
|
||||
namespace MediaBrowser.Model.Configuration
|
||||
{
|
||||
/// <summary>
|
||||
/// Serves as a common base class for the Server and UI application Configurations
|
||||
/// </summary>
|
||||
public class BaseApplicationConfiguration
|
||||
{
|
||||
public bool EnableDebugLevelLogging { get; set; }
|
||||
public int HttpServerPortNumber { get; set; }
|
||||
|
||||
public BaseApplicationConfiguration()
|
||||
{
|
||||
HttpServerPortNumber = 8096;
|
||||
}
|
||||
}
|
||||
}
|
||||
9
MediaBrowser.Model/Configuration/ServerConfiguration.cs
Normal file
9
MediaBrowser.Model/Configuration/ServerConfiguration.cs
Normal file
@@ -0,0 +1,9 @@
|
||||
|
||||
namespace MediaBrowser.Model.Configuration
|
||||
{
|
||||
public class ServerConfiguration : BaseApplicationConfiguration
|
||||
{
|
||||
public bool EnableInternetProviders { get; set; }
|
||||
public string WeatherZipCode { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user