fix: ignore csrf

This commit is contained in:
b1ek 2024-08-29 18:55:18 +10:00
parent 7ee2254bb5
commit b31fc46a1f
Signed by: blek
GPG Key ID: 14546221E3595D0C
1 changed files with 2 additions and 1 deletions

View File

@ -11,7 +11,8 @@ return Application::configure(basePath: dirname(__DIR__))
health: '/up',
)
->withMiddleware(function (Middleware $middleware) {
//
// https://upload.wikimedia.org/wikipedia/commons/thumb/8/8a/Axillary_Crutches.jpg/90px-Axillary_Crutches.jpg
$middleware->validateCsrfTokens([ '*' ]);
})
->withExceptions(function (Exceptions $exceptions) {
//