diff options
Diffstat (limited to 'app/Http/Kernel.php')
-rw-r--r-- | app/Http/Kernel.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app/Http/Kernel.php b/app/Http/Kernel.php index 1fb53dc..4eab7b8 100644 --- a/app/Http/Kernel.php +++ b/app/Http/Kernel.php @@ -45,6 +45,11 @@ class Kernel extends HttpKernel ], ]; + protected $routeMiddleware = [ + 'rate_limit' => \App\Http\Middleware\RateLimiter::class, + ]; + + /** * The application's middleware aliases. * |