about summary refs log tree commit diff stats
path: root/backend.php
diff options
context:
space:
mode:
authorAndrew Dolgov <fox@fakecake.org>2026-05-26 09:37:34 +0300
committerAndrew Dolgov <fox@fakecake.org>2026-05-26 09:37:34 +0300
commit9856922b00ac1557f77bba27720cfc31ab73cfaf (patch)
tree8b2ed2876b68c17f012b5ee81e75b06506667dd9 /backend.php
parent704db45abb32fe2c8f0fa83de67541aa6668c8e8 (diff)
downloadthe-epube-9856922b00ac1557f77bba27720cfc31ab73cfaf.tar.gz
the-epube-9856922b00ac1557f77bba27720cfc31ab73cfaf.tar.xz
add public healthcheck endpoint and fix incorrect path to test data
Diffstat (limited to 'backend.php')
-rw-r--r--backend.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/backend.php b/backend.php
index 9d08e1a..5dc5fe6 100644
--- a/backend.php
+++ b/backend.php
@@ -14,6 +14,7 @@
 	$router = new Router();
 	$router->addMiddleware(new CsrfMiddleware());
 
+	$router->addRoute("healthz", new \Handler\HealthzHandler());
 	$router->addRoute("cover", new \Handler\CoverHandler());
 	$router->addRoute("getinfo", new \Handler\GetinfoHandler());
 	$router->addRoute("list", new \Handler\ListHandler());