mirror of
https://github.com/Radarr/Radarr
synced 2025-02-24 07:10:57 +00:00
Fix api/v3/mediacover route
This commit is contained in:
parent
4b06f6b506
commit
ae5c7a3ace
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ public MediaCoverController(IAppFolderInfo appFolderInfo, IDiskProvider diskProv
|
|||
_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);
|
||||
|
|
Loading…
Reference in a new issue