mirror of
https://github.com/Radarr/Radarr.git
synced 2026-03-05 13:21:25 -05:00
Fix api/v3/mediacover route
This commit is contained in:
@@ -25,7 +25,7 @@ namespace Radarr.Api.V3.MediaCovers
|
||||
_mimeTypeProvider = new FileExtensionContentTypeProvider();
|
||||
}
|
||||
|
||||
[HttpGet(@"author/{movieId:int}/{filename:regex((.+)\.(jpg|png|gif))}")]
|
||||
[HttpGet(@"{movieId:int}/{filename:regex((.+)\.(jpg|png|gif))}")]
|
||||
public IActionResult GetMediaCover(int movieId, string filename)
|
||||
{
|
||||
var filePath = Path.Combine(_appFolderInfo.GetAppDataPath(), "MediaCover", movieId.ToString(), filename);
|
||||
|
||||
Reference in New Issue
Block a user