This commit is contained in:
2026-02-03 17:02:15 +01:00
parent 1aa57e3e3e
commit 591127b5b6
+3
View File
@@ -14,6 +14,9 @@ return Application::configure(basePath: dirname(__DIR__))
)
->withMiddleware(function (Middleware $middleware): void {
$middleware->statefulApi();
$middleware->api(prepend: [
\Illuminate\Http\Middleware\HandleCors::class,
]);
})
->withExceptions(function (Exceptions $exceptions): void {
//