mirror of
https://github.com/Readarr/Readarr
synced 2025-12-20 15:23:55 +01:00
14 lines
No EOL
305 B
C#
14 lines
No EOL
305 B
C#
using Nancy;
|
|
using Nancy.Security;
|
|
|
|
namespace NzbDrone.Api
|
|
{
|
|
public abstract class NzbDroneApiModule : NancyModule
|
|
{
|
|
protected NzbDroneApiModule(string resource)
|
|
: base("/api/" + resource.Trim('/'))
|
|
{
|
|
Options["/"] = x => new Response();
|
|
}
|
|
}
|
|
} |