blandat.. fixar o nullcheckar. filtreringar

This commit is contained in:
2025-09-16 00:19:54 +02:00
parent f88c25f117
commit 6efa8aba8a
9 changed files with 114 additions and 43 deletions

View File

@@ -21,6 +21,9 @@ namespace Bibblan.Controllers
{
//TODO: Bör kanske inte gå direkt mot calibres filer..
var bytes = _calibre.Cover(path);
if (bytes == null)
return NotFound();
return File(bytes, "image/jpeg", true);
}