mirror of
https://github.com/samsonjs/rack-attack.git
synced 2026-03-25 09:25:49 +00:00
Merge pull request #558 from agbaber/fix-rack-spec-doc-link
docs: update link to rack spec in README
This commit is contained in:
commit
e31488aeba
1 changed files with 1 additions and 1 deletions
|
|
@ -312,7 +312,7 @@ Note that `Rack::Attack.cache` is only used for throttling, allow2ban and fail2b
|
|||
|
||||
## Customizing responses
|
||||
|
||||
Customize the response of blocklisted and throttled requests using an object that adheres to the [Rack app interface](http://www.rubydoc.info/github/rack/rack/file/SPEC).
|
||||
Customize the response of blocklisted and throttled requests using an object that adheres to the [Rack app interface](http://www.rubydoc.info/github/rack/rack/file/SPEC.rdoc).
|
||||
|
||||
```ruby
|
||||
Rack::Attack.blocklisted_callback = lambda do |request|
|
||||
|
|
|
|||
Loading…
Reference in a new issue