diff --git a/bootstrap/app.php b/bootstrap/app.php index a827a7f5..5308eef2 100644 --- a/bootstrap/app.php +++ b/bootstrap/app.php @@ -8,7 +8,11 @@ return Application::configure(basePath: dirname(__DIR__)) ->withRouting( - web: __DIR__.'/../routes/web.php', + web: [ + __DIR__.'/../routes/web.php', + __DIR__.'/../routes/settings.php', + __DIR__.'/../routes/auth.php', + ], commands: __DIR__.'/../routes/console.php', health: '/up', ) diff --git a/routes/web.php b/routes/web.php index fddbaba5..0a5b15cb 100644 --- a/routes/web.php +++ b/routes/web.php @@ -10,6 +10,3 @@ Route::get('dashboard', function () { return Inertia::render('Dashboard'); })->middleware(['auth', 'verified'])->name('dashboard'); - -require __DIR__.'/settings.php'; -require __DIR__.'/auth.php';