[ // Koel doesn't use any default Laravel middleware for web. ], 'api' => [ 'throttle:60,1', 'bindings', ], ]; /** * The application's route middleware. * * @var array */ protected $routeMiddleware = [ 'auth' => Authenticate::class, 'jwt.auth' => GetUserFromToken::class, 'os.auth' => ObjectStorageAuthenticate::class, 'bindings' => SubstituteBindings::class, 'can' => Authorize::class, 'throttle' => ThrottleRequests::class, ]; }