mirror of
https://github.com/Radarr/Radarr.git
synced 2026-04-19 21:46:50 -04: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