Skip to content

Kavita is a fast, feature rich, cross platform reading server. Built with the goal of being a full solution for all your reading needs. Setup your own server and share your reading collection with your friends and family.

Adding Health controller (#1480)

Robbie Davis851c777054af
diff --git a/API/Controllers/HealthController.cs b/API/Controllers/HealthController.cs
new file mode 100644
index 000000000..8d588fb44
--- /dev/null
+++ b/API/Controllers/HealthController.cs
@@ -0,0 +1,17 @@
+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");
+ }
+}