Merge pull request #558 from agbaber/fix-rack-spec-doc-link

docs: update link to rack spec in README
This commit is contained in:
Gonzalo 2021-11-26 13:26:41 -03:00 committed by GitHub
commit e31488aeba
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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|