Kavita/API/Controllers/HealthController.cs
Robbie Davis 851c777054
Adding Health controller (#1480)
* Adding Health controller

- Added: Added API endpoint for a health check to streamline docker healthy status.

* review comment fixes
2022-08-25 20:31:41 -04:00

18 lines
308 B
C#

using System;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
namespace API.Controllers;
[AllowAnonymous]
public class HealthController : BaseApiController
{
[HttpGet()]
public ActionResult GetHealth()
{
return Ok("Ok");
}
}