Skip to content

Commit d5fa43d

Browse files
committed
fix: getting there with the distribution
1 parent 2cf1f51 commit d5fa43d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/Providers/AppServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public function boot(): void
4141
});
4242

4343
RateLimiter::for('netifyd', function (Request $request) {
44-
return Limit::perMinute(config('netifyd.rate-limit'));
44+
return Limit::perMinute(config('netifyd.rate-limit'))->by($request->ip());
4545
});
4646
}
4747
}

0 commit comments

Comments
 (0)