mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-29 13:27:56 +02:00
Route fixes
This commit is contained in:
@@ -14,7 +14,6 @@ using System.Web.Http;
|
||||
|
||||
namespace Jackett.Controllers
|
||||
{
|
||||
[RoutePrefix("API")]
|
||||
[AllowAnonymous]
|
||||
public class APIController : ApiController
|
||||
{
|
||||
@@ -31,7 +30,6 @@ namespace Jackett.Controllers
|
||||
cacheService = c;
|
||||
}
|
||||
|
||||
[Route("Call")]
|
||||
[HttpGet]
|
||||
public async Task<HttpResponseMessage> Call(string indexerID)
|
||||
{
|
||||
@@ -114,11 +112,6 @@ namespace Jackett.Controllers
|
||||
};
|
||||
}
|
||||
|
||||
[Route("GetCache")]
|
||||
[HttpGet]
|
||||
public List<TrackerCacheResult> GetCache()
|
||||
{
|
||||
return cacheService.GetCachedResults();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user