From 83a401bd15f584cb0c9c1343d2e913c634f9358c Mon Sep 17 00:00:00 2001 From: T'JAMPENS QUENTIN p2406187 Date: Fri, 21 Nov 2025 11:49:03 +0100 Subject: [PATCH] Host frontend --- bootstrap/app.php | 1 + routes/web.php | 7 +++++++ 2 files changed, 8 insertions(+) create mode 100644 routes/web.php diff --git a/bootstrap/app.php b/bootstrap/app.php index d6cb835..172e8fb 100644 --- a/bootstrap/app.php +++ b/bootstrap/app.php @@ -6,6 +6,7 @@ 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', diff --git a/routes/web.php b/routes/web.php new file mode 100644 index 0000000..856b450 --- /dev/null +++ b/routes/web.php @@ -0,0 +1,7 @@ +where('any', '.*');