fixed app not responding to anything but localhost

disabled startup update check
pull/4/head
kay.one 12 years ago
parent b010c8d5a1
commit c122502634

@ -40,7 +40,7 @@ namespace NzbDrone.Common.Test.EventingTests
}
[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 @@ namespace NzbDrone
}
var container = MainAppContainerBuilder.BuildContainer();
try
/*try
{
container.Resolve<IUpdateService>().Execute(new ApplicationUpdateCommand());
}
@ -52,7 +51,7 @@ namespace NzbDrone
{
logger.ErrorException("Application update failed.", e);
}
*/
container.Resolve<Router>().Route(args);
}
catch (Exception e)

@ -27,8 +27,8 @@ namespace NzbDrone.Owin
{
var options = new StartOptions
{
App = GetType().AssemblyQualifiedName,
Port = _configFileProvider.Port
Url = "http://*:" + _configFileProvider.Port,
App = GetType().AssemblyQualifiedName
};
_host = WebApplication.Start(options, BuildApp);

Loading…
Cancel
Save