mirror of
https://github.com/getnamingo/registry.git
synced 2025-07-23 02:56:02 +02:00
Added server health page in CP
This commit is contained in:
parent
d04d940a14
commit
0d8eda7ea8
7 changed files with 306 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue