1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-11-24 08:42:19 +02:00

New: Allow HEAD requests to ping endpoint

Closes #6656
This commit is contained in:
Bogdan 2024-03-28 07:30:45 +02:00 committed by GitHub
parent 1ec1ce58e9
commit 7353fe479d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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