docs: update link to rack spec in README

This commit is contained in:
Andrew Baber 2021-11-19 12:30:18 -05:00 committed by Andrew Baber
parent f920e635f6
commit 78bc155ac9

View file

@ -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|