1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-20 18:02:44 +01:00

New: Allow HEAD requests to ping endpoint

(cherry picked from commit 7353fe479dbb8d0dab76993ebed92d48e1b05524)
This commit is contained in:
Bogdan 2024-03-28 07:30:45 +02:00
parent d41c0f0ab7
commit 0c998dac5c

View File

@ -21,6 +21,7 @@ public PingController(IConfigRepository configRepository, ICacheManager cacheMan
[AllowAnonymous] [AllowAnonymous]
[HttpGet("/ping")] [HttpGet("/ping")]
[HttpHead("/ping")]
[Produces("application/json")] [Produces("application/json")]
public ActionResult<PingResource> GetStatus() public ActionResult<PingResource> GetStatus()
{ {