Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Prowlarr/blame/commit/339dd5a1ddafc778db1876436da5db5549973400/NzbDrone.Api/NzbDroneApiModule.cs
You should set ROOT_URL correctly, otherwise the web may not work correctly.
|
|
|
|
using System.Linq;
|
|
|
|
|
using Nancy;
|
|
|
|
|
using Nancy.Responses;
|
|
|
|
|
|
|
|
|
|
namespace NzbDrone.Api
|
|
|
|
|
{
|
|
|
|
|
public abstract class NzbDroneApiModule : NancyModule
|
|
|
|
|
{
|
|
|
|
|
protected NzbDroneApiModule(string resource)
|
|
|
|
|
: base("/api/" + resource.Trim('/'))
|
|
|
|
|
{
|
|
|
|
|
Options["/"] = x => new Response();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|