diff --git a/bootstrap/app.php b/bootstrap/app.php index c3928c5..0d946f0 100644 --- a/bootstrap/app.php +++ b/bootstrap/app.php @@ -1,18 +1,21 @@ withRouting( - web: __DIR__.'/../routes/web.php', - api: __DIR__.'/../routes/api.php', - commands: __DIR__.'/../routes/console.php', + web: __DIR__ . '/../routes/web.php', + api: __DIR__ . '/../routes/api.php', + commands: __DIR__ . '/../routes/console.php', health: '/up', ) ->withMiddleware(function (Middleware $middleware): void { - // + $middleware->alias([ + 'authorization' => Authorization::class + ]); }) ->withExceptions(function (Exceptions $exceptions): void { //