mirror of
https://github.com/samsonjs/rack-attack.git
synced 2026-03-25 09:25:49 +00:00
Fix typo in README.md
This commit is contained in:
parent
7820986d9c
commit
4a724d8c8b
1 changed files with 1 additions and 1 deletions
|
|
@ -113,7 +113,7 @@ end
|
|||
```ruby
|
||||
# Block requests from 1.2.3.4
|
||||
Rack::Attack.blacklist('block 1.2.3.4') do |req|
|
||||
# Request are blocked if the return value is truthy
|
||||
# Requests are blocked if the return value is truthy
|
||||
'1.2.3.4' == req.ip
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue