From 44eb5acfa9c570cde6449261797e9a2fd762fa6d Mon Sep 17 00:00:00 2001 From: Alexandr Chernyaev Date: Sun, 1 Dec 2024 04:54:01 +0300 Subject: [PATCH] Added rate limit for the web --- bootstrap/app.php | 1 + 1 file changed, 1 insertion(+) diff --git a/bootstrap/app.php b/bootstrap/app.php index 6fe25f6c..60026d80 100644 --- a/bootstrap/app.php +++ b/bootstrap/app.php @@ -19,6 +19,7 @@ SetDefaultVersionForUrl::class, // App\Http\Middleware\Opening\Opening::class, 'cache.headers:private;must_revalidate;etag', + 'throttle:100,1', ]); $middleware->validateCsrfTokens(except: [