mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
Temporarily answer to the old newznab url
This commit is contained in:
@@ -36,6 +36,7 @@ namespace NzbDrone.Api.V1.Indexers
|
||||
_downloadService = downloadService;
|
||||
}
|
||||
|
||||
[HttpGet("/api/v1/indexer/{id:int}/newznab")]
|
||||
[HttpGet("{id:int}/api")]
|
||||
public async Task<IActionResult> GetNewznabResponse(int id, [FromQuery] NewznabRequest request)
|
||||
{
|
||||
@@ -80,6 +81,7 @@ namespace NzbDrone.Api.V1.Indexers
|
||||
}
|
||||
}
|
||||
|
||||
[HttpGet("/api/v1/indexer/{id:int}/download")]
|
||||
[HttpGet("{id:int}/download")]
|
||||
public async Task<object> GetDownload(int id, string link, string file)
|
||||
{
|
||||
|
Reference in New Issue
Block a user