mirror of
https://github.com/fergalmoran/Readarr.git
synced 2025-12-22 09:29:59 +00:00
New: Allow HEAD requests to ping endpoint
(cherry picked from commit 7353fe479dbb8d0dab76993ebed92d48e1b05524)
This commit is contained in:
@@ -21,6 +21,7 @@ namespace Readarr.Http.Ping
|
|||||||
|
|
||||||
[AllowAnonymous]
|
[AllowAnonymous]
|
||||||
[HttpGet("/ping")]
|
[HttpGet("/ping")]
|
||||||
|
[HttpHead("/ping")]
|
||||||
[Produces("application/json")]
|
[Produces("application/json")]
|
||||||
public ActionResult<PingResource> GetStatus()
|
public ActionResult<PingResource> GetStatus()
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user