now favicons
This commit is contained in:
+8
-1
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user