mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-29 19:28:27 -07:00
Fixed: Naming of remoteAccessAdapter in OwinHostController
Co-Authored-By: Mark McDowall <markus101@users.noreply.github.com>
This commit is contained in:
parent
6ec8e522de
commit
1d1aca8fb7
1 changed files with 4 additions and 9 deletions
|
@ -1,6 +1,5 @@
|
||||||
using System;
|
using System;
|
||||||
using NLog;
|
using NLog;
|
||||||
using NzbDrone.Common.EnvironmentInfo;
|
|
||||||
using NzbDrone.Host.AccessControl;
|
using NzbDrone.Host.AccessControl;
|
||||||
|
|
||||||
namespace NzbDrone.Host.Owin
|
namespace NzbDrone.Host.Owin
|
||||||
|
@ -8,30 +7,26 @@ namespace NzbDrone.Host.Owin
|
||||||
public class OwinHostController : IHostController
|
public class OwinHostController : IHostController
|
||||||
{
|
{
|
||||||
private readonly IOwinAppFactory _owinAppFactory;
|
private readonly IOwinAppFactory _owinAppFactory;
|
||||||
private readonly IRemoteAccessAdapter _removeAccessAdapter;
|
private readonly IRemoteAccessAdapter _remoteAccessAdapter;
|
||||||
private readonly IUrlAclAdapter _urlAclAdapter;
|
private readonly IUrlAclAdapter _urlAclAdapter;
|
||||||
private readonly IFirewallAdapter _firewallAdapter;
|
|
||||||
private readonly ISslAdapter _sslAdapter;
|
|
||||||
private readonly Logger _logger;
|
private readonly Logger _logger;
|
||||||
private IDisposable _owinApp;
|
private IDisposable _owinApp;
|
||||||
|
|
||||||
public OwinHostController(
|
public OwinHostController(
|
||||||
IOwinAppFactory owinAppFactory,
|
IOwinAppFactory owinAppFactory,
|
||||||
IRemoteAccessAdapter removeAccessAdapter,
|
IRemoteAccessAdapter remoteAccessAdapter,
|
||||||
IUrlAclAdapter urlAclAdapter,
|
IUrlAclAdapter urlAclAdapter,
|
||||||
IFirewallAdapter firewallAdapter,
|
|
||||||
ISslAdapter sslAdapter,
|
|
||||||
Logger logger)
|
Logger logger)
|
||||||
{
|
{
|
||||||
_owinAppFactory = owinAppFactory;
|
_owinAppFactory = owinAppFactory;
|
||||||
_removeAccessAdapter = removeAccessAdapter;
|
_remoteAccessAdapter = remoteAccessAdapter;
|
||||||
_urlAclAdapter = urlAclAdapter;
|
_urlAclAdapter = urlAclAdapter;
|
||||||
_logger = logger;
|
_logger = logger;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void StartServer()
|
public void StartServer()
|
||||||
{
|
{
|
||||||
_removeAccessAdapter.MakeAccessible(true);
|
_remoteAccessAdapter.MakeAccessible(true);
|
||||||
|
|
||||||
_logger.Info("Listening on the following URLs:");
|
_logger.Info("Listening on the following URLs:");
|
||||||
foreach (var url in _urlAclAdapter.Urls)
|
foreach (var url in _urlAclAdapter.Urls)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue