about summary refs log tree commit diff stats
path: root/classes
diff options
context:
space:
mode:
authorAndrew Dolgov <fox@fakecake.org>2026-05-26 11:37:02 +0300
committerAndrew Dolgov <fox@fakecake.org>2026-05-26 11:37:02 +0300
commit3744f9b9f653f73803a8e6aab07c8d1041681179 (patch)
tree267669e5233e4bd7be1c29c951522f8581c928a1 /classes
parenta865ff1754f812e8cd163e4bfc1b8cbb2d10c2df (diff)
downloadthe-epube-3744f9b9f653f73803a8e6aab07c8d1041681179.tar.gz
the-epube-3744f9b9f653f73803a8e6aab07c8d1041681179.tar.xz
exclude healthcheck from csrf
Diffstat (limited to 'classes')
-rw-r--r--classes/CsrfMiddleware.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/CsrfMiddleware.php b/classes/CsrfMiddleware.php
index 3977241..1c4af2e 100644
--- a/classes/CsrfMiddleware.php
+++ b/classes/CsrfMiddleware.php
@@ -4,7 +4,7 @@ class CsrfMiddleware implements MiddlewareInterface
 {
 	/** @var array<string> */
 	private array $csrfIgnore = [
-		"cover", "download", "getpagination", "getlastread", "getinfo", "list"
+		"cover", "download", "getpagination", "getlastread", "getinfo", "list", "healthz"
 	];
 
 	public function process(Request $request, callable $next): Response