now favicons

This commit is contained in:
Mark Gregory
2026-06-10 13:10:09 +01:00
parent c59b16d791
commit 9518ff889b
37 changed files with 324 additions and 168 deletions
+8 -1
View File
@@ -12,7 +12,14 @@ return Application::configure(basePath: dirname(__DIR__))
health: '/up',
)
->withMiddleware(function (Middleware $middleware): void {
//
$environment = $_ENV['APP_ENV']
?? $_SERVER['APP_ENV']
?? getenv('APP_ENV')
?: null;
if ($environment === 'testing') {
$middleware->validateCsrfTokens(except: ['*']);
}
})
->withExceptions(function (Exceptions $exceptions): void {
$exceptions->shouldRenderJsonWhen(