mirror of
https://github.com/Prowlarr/Prowlarr
synced 2026-04-21 04:10:52 +02:00
Temporarily answer to the old newznab url
This commit is contained in:
parent
76c3283c05
commit
ed5bed7538
1 changed files with 2 additions and 0 deletions
|
|
@ -36,6 +36,7 @@ public NewznabController(IndexerFactory indexerFactory,
|
|||
_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 @@ public async Task<IActionResult> GetNewznabResponse(int id, [FromQuery] NewznabR
|
|||
}
|
||||
}
|
||||
|
||||
[HttpGet("/api/v1/indexer/{id:int}/download")]
|
||||
[HttpGet("{id:int}/download")]
|
||||
public async Task<object> GetDownload(int id, string link, string file)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue