ldc-arcadia-api/bootstrap/middlewares.php

19 lines
302 B
PHP
Raw Normal View History

<?php
declare(strict_types=1);
use Illuminate\Foundation\Configuration\Middleware;
return function (Middleware $middleware): void {
$middleware->web(append: [
'throttle:web',
]);
$middleware->api(append: [
'throttle:api.v1',
]);
$middleware->alias([
]);
};