Skip to content

Commit

Permalink
healthcheck controller
Browse files Browse the repository at this point in the history
  • Loading branch information
Atralupus committed Dec 19, 2024
1 parent 4a8b354 commit 86eb3ca
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
14 changes: 14 additions & 0 deletions ArenaService/Controllers/HealthCheckController.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
namespace ArenaService.Controllers;

using Microsoft.AspNetCore.Mvc;

[ApiController]
[Route("/")]
public class HealthCheckController : ControllerBase
{
[HttpGet]
public IActionResult Index()
{
return Ok();
}
}
2 changes: 1 addition & 1 deletion ArenaService/Controllers/SeasonController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ namespace ArenaService.Controllers;
using ArenaService.Services;
using Microsoft.AspNetCore.Mvc;

[Route("api/seasons")]
[Route("seasons")]
[ApiController]
public class SeasonController : ControllerBase
{
Expand Down

0 comments on commit 86eb3ca

Please sign in to comment.