|
0
|
1 <?php
|
|
|
2
|
|
|
3 use Illuminate\Foundation\Application;
|
|
|
4 use Illuminate\Foundation\Configuration\Exceptions;
|
|
|
5 use Illuminate\Foundation\Configuration\Middleware;
|
|
|
6
|
|
|
7 return Application::configure(basePath: dirname(__DIR__))
|
|
|
8 ->withRouting(
|
|
|
9 web: __DIR__.'/../routes/web.php',
|
|
|
10 commands: __DIR__.'/../routes/console.php',
|
|
|
11 health: '/up',
|
|
|
12 )
|
|
|
13 ->withMiddleware(function (Middleware $middleware): void {
|
|
|
14 //
|
|
|
15 })
|
|
|
16 ->withExceptions(function (Exceptions $exceptions): void {
|
|
|
17 //
|
|
|
18 })->create();
|