mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 21:43:33 -07:00
New: Allow HEAD requests to ping endpoint
(cherry picked from commit 7353fe479dbb8d0dab76993ebed92d48e1b05524)
This commit is contained in:
parent
e730cf6307
commit
f890a8c18f
1 changed files with 1 additions and 0 deletions
|
@ -21,6 +21,7 @@ namespace Lidarr.Http.Ping
|
||||||
|
|
||||||
[AllowAnonymous]
|
[AllowAnonymous]
|
||||||
[HttpGet("/ping")]
|
[HttpGet("/ping")]
|
||||||
|
[HttpHead("/ping")]
|
||||||
[Produces("application/json")]
|
[Produces("application/json")]
|
||||||
public ActionResult<PingResource> GetStatus()
|
public ActionResult<PingResource> GetStatus()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue