Added server health page in CP

This commit is contained in:
Pinga 2024-12-08 13:31:07 +02:00
parent d04d940a14
commit 0d8eda7ea8
7 changed files with 306 additions and 2 deletions

View file

@ -266,6 +266,9 @@ $csrfMiddleware = function ($request, $handler) use ($container) {
if ($path && $path === '/create-crypto-payment') {
return $handler->handle($request);
}
if ($path && $path === '/clear-cache') {
return $handler->handle($request);
}
// If not skipped, apply the CSRF Guard
return $csrf->process($request, $handler);