admin middleware + llms.txt

This commit is contained in:
Doar Mihai
2026-05-02 00:04:55 +03:00
parent 99d2cc9a25
commit b92e315931
9 changed files with 240 additions and 20 deletions
+3 -1
View File
@@ -18,7 +18,9 @@ return Application::configure(basePath: dirname(__DIR__))
health: '/up',
)
->withMiddleware(function (Middleware $middleware): void {
//
$middleware->alias([
'admin' => \App\Http\Middleware\EnsureIsAdmin::class,
]);
})
->withSchedule(function (Schedule $schedule): void {
// =========================================================================