Allow head requests to status endpoints (#717)

This commit is contained in:
Josh 2023-03-23 19:31:56 -05:00 committed by GitHub
parent fa5ff0b490
commit b2a1d3958f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View file

@ -7,6 +7,6 @@ namespace LBPUnion.ProjectLighthouse.Servers.API.Controllers;
[Produces("application/json")]
public class StatusController : ControllerBase
{
[HttpGet("status")]
[AcceptVerbs("GET", "HEAD", Route = "status")]
public IActionResult GetStatus() => this.Ok();
}