diff --git a/Shoko.Server/API/v3/Controllers/ImageController.cs b/Shoko.Server/API/v3/Controllers/ImageController.cs index d575ccd10..6f1ee8747 100644 --- a/Shoko.Server/API/v3/Controllers/ImageController.cs +++ b/Shoko.Server/API/v3/Controllers/ImageController.cs @@ -25,6 +25,7 @@ public class ImageController : BaseController /// Usually the ID, but the resource name in the case of image/Shoko/Static/{value} /// 200 on found, 400/404 if the type or source are invalid, and 404 if the id is not found [HttpGet("{source}/{type}/{value}")] + [HttpHead("{source}/{type}/{value}")] [ResponseCache(Duration = 3600 /* 1 hour in seconds */)] [ProducesResponseType(typeof(FileStreamResult), 200)] [ProducesResponseType(404)]