Merge pull request #425 from joemasilotti/patch-1

Example Configuration: black/white -> block/safe
This commit is contained in:
Gonzalo Rodriguez 2019-07-27 14:41:58 -03:00 committed by GitHub
commit 644d2a412e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,8 +10,8 @@ class Rack::Attack
# If you don't want to use Rails.cache (Rack::Attack's default), then
# configure it here.
#
# Note: The store is only used for throttling (not blacklisting and
# whitelisting). It must implement .increment and .write like
# Note: The store is only used for throttling (not blocklisting and
# safelisting). It must implement .increment and .write like
# ActiveSupport::Cache::Store
# Rack::Attack.cache.store = ActiveSupport::Cache::MemoryStore.new
@ -80,4 +80,4 @@ class Rack::Attack
# ['']] # body
# end
end
```
```