mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
New: Allow HEAD requests to ping endpoint
This commit is contained in:
@@ -22,6 +22,7 @@ namespace Prowlarr.Http
|
|||||||
|
|
||||||
[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