You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Lidarr/NzbDrone.Api/NzbDroneApiModule.cs

13 lines
283 B

using Nancy;
namespace NzbDrone.Api
{
public abstract class NzbDroneApiModule : NancyModule
{
protected NzbDroneApiModule(string resource)
: base("/api/" + resource.Trim('/'))
{
Options["/"] = x => new Response();
}
}
}