mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-05-15 06:02:28 +00:00
Allow head requests to status endpoints (#717)
This commit is contained in:
parent
fa5ff0b490
commit
b2a1d3958f
3 changed files with 3 additions and 3 deletions
|
@ -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();
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue