mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
New: Use native dotnet host and DryIoc
(cherry picked from commit d6170dbfedf27a6218afe242a0fae2eb8b368aec)
This commit is contained in:
@@ -50,6 +50,8 @@ namespace NzbDrone.Core.Configuration
|
||||
public class ConfigFileProvider : IConfigFileProvider
|
||||
{
|
||||
public const string CONFIG_ELEMENT_NAME = "Config";
|
||||
public const int DEFAULT_PORT = 9696;
|
||||
public const int DEFAULT_SSL_PORT = 9898;
|
||||
|
||||
private readonly IEventAggregator _eventAggregator;
|
||||
private readonly IDiskProvider _diskProvider;
|
||||
@@ -135,9 +137,9 @@ namespace NzbDrone.Core.Configuration
|
||||
}
|
||||
}
|
||||
|
||||
public int Port => GetValueInt("Port", 9696);
|
||||
public int Port => GetValueInt("Port", DEFAULT_PORT);
|
||||
|
||||
public int SslPort => GetValueInt("SslPort", 9898);
|
||||
public int SslPort => GetValueInt("SslPort", DEFAULT_SSL_PORT);
|
||||
|
||||
public bool EnableSsl => GetValueBoolean("EnableSsl", false);
|
||||
|
||||
|
Reference in New Issue
Block a user