Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Radarr/blame/commit/af2c86e40ad9a719ea87035295c93b58f7ee2a8c/NzbDrone.Api/AppHost.cs You should set ROOT_URL correctly, otherwise the web may not work correctly.
Radarr/NzbDrone.Api/AppHost.cs

36 lines
1.0 KiB

using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Web;
using Funq;
using Ninject;
using NzbDrone.Api.QualityProfiles;
using ServiceStack.ContainerAdapter.Ninject;
using ServiceStack.WebHost.Endpoints;
namespace NzbDrone.Api
{
public class AppHost : AppHostBase
{
private IKernel _kernel;
public AppHost(IKernel kernel) //Tell ServiceStack the name and where to find your web services
: base("NzbDrone API", typeof(QualityProfileService).Assembly)
{
_kernel = kernel;
}
public override void Configure(Container container)
{
container.Adapter = new NinjectContainerAdapter(_kernel);
SetConfig(new EndpointHostConfig { ServiceStackHandlerFactoryPath = "api" });
Routes
.Add<QualityProfileModel>("/qualityprofiles")
.Add<QualityProfileModel>("/qualityprofiles/{Id}");
Bootstrapper.Initialize();
}
}
}