mirror of
https://github.com/Kareadita/Kavita.git
synced 2026-06-05 06:15:25 -04:00
Progress Overhaul + Profile Page and a LOT more! (#4262)
Co-authored-by: Amelia <77553571+Fesaa@users.noreply.github.com> Co-authored-by: Robbie Davis <robbie@therobbiedavis.com>
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
using API.Middleware;
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
@@ -5,12 +6,16 @@ namespace API.Controllers;
|
||||
|
||||
#nullable enable
|
||||
|
||||
[SkipDeviceTracking]
|
||||
[AllowAnonymous]
|
||||
public class HealthController : BaseApiController
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// No-op method that just returns Ok. Used for health checks in Docker containers.
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
[HttpGet]
|
||||
public ActionResult GetHealth()
|
||||
public ActionResult<string> GetHealth()
|
||||
{
|
||||
return Ok("Ok");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user