Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Sonarr/commit/e1318170224be2d98cbedd2ed9e7e73a3a39faa5?style=unified&whitespace=ignore-all You should set ROOT_URL correctly, otherwise the web may not work correctly.

Disable nancyfx diagnostics unless in debug

pull/56/head
Mark McDowall 11 years ago
parent be9b7284b5
commit e131817022

@ -3,6 +3,7 @@ using Nancy.Bootstrapper;
using Nancy.Diagnostics;
using NzbDrone.Api.ErrorManagement;
using NzbDrone.Api.Extensions.Pipelines;
using NzbDrone.Common.EnvironmentInfo;
using NzbDrone.Common.Instrumentation;
using NzbDrone.Core.Instrumentation;
using NzbDrone.Core.Lifecycle;
@ -26,6 +27,11 @@ namespace NzbDrone.Api
{
_logger.Info("Starting NzbDrone API");
if (RuntimeInfo.IsProduction)
{
DiagnosticsHook.Disable(pipelines);
}
RegisterPipelines(pipelines);
container.Resolve<DatabaseTarget>().Register();

Loading…
Cancel
Save