Skip to content

Commit

Permalink
Remove rate limit
Browse files Browse the repository at this point in the history
  • Loading branch information
TitusKirch committed Nov 2, 2023
1 parent f9355dc commit b7e7157
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/Providers/RouteServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -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());
// });
}
}

0 comments on commit b7e7157

Please sign in to comment.