diff --git a/bootstrap/app.php b/bootstrap/app.php index c183276..d654276 100644 --- a/bootstrap/app.php +++ b/bootstrap/app.php @@ -7,12 +7,13 @@ use Illuminate\Foundation\Configuration\Middleware; return Application::configure(basePath: dirname(__DIR__)) ->withRouting( web: __DIR__.'/../routes/web.php', + api: __DIR__.'/../routes/api.php', commands: __DIR__.'/../routes/console.php', health: '/up', ) - ->withMiddleware(function (Middleware $middleware): void { + ->withMiddleware(function (Middleware $middleware) { // }) - ->withExceptions(function (Exceptions $exceptions): void { + ->withExceptions(function (Exceptions $exceptions) { // })->create();