test
This commit is contained in:
@@ -14,6 +14,9 @@ return Application::configure(basePath: dirname(__DIR__))
|
|||||||
)
|
)
|
||||||
->withMiddleware(function (Middleware $middleware): void {
|
->withMiddleware(function (Middleware $middleware): void {
|
||||||
$middleware->statefulApi();
|
$middleware->statefulApi();
|
||||||
|
$middleware->api(prepend: [
|
||||||
|
\Illuminate\Http\Middleware\HandleCors::class,
|
||||||
|
]);
|
||||||
})
|
})
|
||||||
->withExceptions(function (Exceptions $exceptions): void {
|
->withExceptions(function (Exceptions $exceptions): void {
|
||||||
//
|
//
|
||||||
|
|||||||
Reference in New Issue
Block a user