mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-21 22:04:31 -04:00
Basic Authentication Added
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
using System;
|
||||
using Nancy;
|
||||
using Nancy.Security;
|
||||
|
||||
namespace NzbDrone.Api.Frontend
|
||||
{
|
||||
@@ -7,6 +8,7 @@ namespace NzbDrone.Api.Frontend
|
||||
{
|
||||
public IndexModule()
|
||||
{
|
||||
this.RequiresAuthentication();
|
||||
//Serve anything that doesn't have an extension
|
||||
Get[@"/(.*)"] = x => Index();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user