Spaces:
Sleeping
Sleeping
Download bootstrap/app.php from Ezekiel999/eventflow: direct link, hf CLI and curl.
- Browser
- Download file 621 Bytes
-
https://huggingface.co/spaces/Ezekiel999/eventflow/resolve/main/bootstrap/app.php
- Command line
-
hf download hf://spaces/Ezekiel999/eventflow/bootstrap/app.php
-
curl -L -o app.php https://huggingface.co/spaces/Ezekiel999/eventflow/resolve/main/bootstrap/app.php
621 Bytes
| use Illuminate\Foundation\Application; | |
| use Illuminate\Foundation\Configuration\Exceptions; | |
| use Illuminate\Foundation\Configuration\Middleware; | |
| return Application::configure(basePath: dirname(__DIR__)) | |
| ->withRouting( | |
| web: __DIR__.'/../routes/web.php', | |
| commands: __DIR__.'/../routes/console.php', | |
| health: '/up', | |
| ) | |
| ->withMiddleware(function (Middleware $middleware): void { | |
| $middleware->alias([ | |
| 'role' => \App\Http\Middleware\RoleMiddleware::class, | |
| ]); | |
| }) | |
| ->withExceptions(function (Exceptions $exceptions): void { | |
| // | |
| })->create(); | |