From b7e71570c7fd38a3ecdf5c77e7582c9431f6eb5a Mon Sep 17 00:00:00 2001 From: Titus Kirch Date: Thu, 2 Nov 2023 18:35:54 +0100 Subject: [PATCH] Remove rate limit --- app/Providers/RouteServiceProvider.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/Providers/RouteServiceProvider.php b/app/Providers/RouteServiceProvider.php index 3bd3c81..1aa2830 100644 --- a/app/Providers/RouteServiceProvider.php +++ b/app/Providers/RouteServiceProvider.php @@ -56,8 +56,8 @@ public function boot() */ protected function configureRateLimiting() { - RateLimiter::for('api', function (Request $request) { - return Limit::perMinute(60)->by(optional($request->user())->id ?: $request->ip()); - }); + // RateLimiter::for('api', function (Request $request) { + // return Limit::perMinute(1200)->by(optional($request->user())->id ?: $request->ip()); + // }); } }