mirror of
https://github.com/Radarr/Radarr.git
synced 2024-11-05 02:22:31 +01:00
fixed app not responding to anything but localhost
disabled startup update check
This commit is contained in:
parent
b010c8d5a1
commit
c122502634
@ -40,7 +40,7 @@ public void should_publish_command_to_executor()
|
||||
}
|
||||
|
||||
[Test]
|
||||
public void should_publish_command_by_with_optional_arg_with_name()
|
||||
public void should_publish_command_by_with_optional_arg_using_name()
|
||||
{
|
||||
Mocker.GetMock<IServiceFactory>().Setup(c => c.GetImplementations(typeof(ICommand)))
|
||||
.Returns(new List<Type> { typeof(CommandA), typeof(CommandB) });
|
||||
|
@ -2,8 +2,6 @@
|
||||
using System.Diagnostics;
|
||||
using System.Reflection;
|
||||
using NLog;
|
||||
using NzbDrone.Core.Update;
|
||||
using NzbDrone.Core.Update.Commands;
|
||||
|
||||
namespace NzbDrone
|
||||
{
|
||||
@ -44,7 +42,8 @@ public static void Main(string[] args)
|
||||
}
|
||||
|
||||
var container = MainAppContainerBuilder.BuildContainer();
|
||||
try
|
||||
|
||||
/*try
|
||||
{
|
||||
container.Resolve<IUpdateService>().Execute(new ApplicationUpdateCommand());
|
||||
}
|
||||
@ -52,7 +51,7 @@ public static void Main(string[] args)
|
||||
{
|
||||
logger.ErrorException("Application update failed.", e);
|
||||
}
|
||||
|
||||
*/
|
||||
container.Resolve<Router>().Route(args);
|
||||
}
|
||||
catch (Exception e)
|
||||
|
@ -27,8 +27,8 @@ public void StartServer()
|
||||
{
|
||||
var options = new StartOptions
|
||||
{
|
||||
App = GetType().AssemblyQualifiedName,
|
||||
Port = _configFileProvider.Port
|
||||
Url = "http://*:" + _configFileProvider.Port,
|
||||
App = GetType().AssemblyQualifiedName
|
||||
};
|
||||
|
||||
_host = WebApplication.Start(options, BuildApp);
|
||||
|
Loading…
Reference in New Issue
Block a user