diff options
| author | Andrew Dolgov <fox@fakecake.org> | 2026-05-24 21:23:59 +0300 |
|---|---|---|
| committer | Andrew Dolgov <fox@fakecake.org> | 2026-05-24 21:23:59 +0300 |
| commit | 4af3c3398db3c214d2216d56a1154a00ba079923 (patch) | |
| tree | a20f4b71605d8e3667b51c4b7e43f1afe3dbc521 /classes/CsrfMiddleware.php | |
| parent | ce40334f1a4708958b38c8565635019e4fbeefb9 (diff) | |
| download | the-epube-4af3c3398db3c214d2216d56a1154a00ba079923.tar.gz the-epube-4af3c3398db3c214d2216d56a1154a00ba079923.tar.xz | |
add a listhandler to show return a list of books as JSON for index
Diffstat (limited to 'classes/CsrfMiddleware.php')
| -rw-r--r-- | classes/CsrfMiddleware.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/CsrfMiddleware.php b/classes/CsrfMiddleware.php index 2361957..9693f99 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" + "cover", "download", "getpagination", "getlastread", "getinfo", "list" ]; public function process(Request $request, callable $next): Response |
