mirror of
https://github.com/samsonjs/rack-attack.git
synced 2026-03-25 09:25:49 +00:00
Update example description to not suggest using a deprecated method. (#589)
This commit is contained in:
parent
e9b753b4e7
commit
4d201f7e42
1 changed files with 1 additions and 1 deletions
|
|
@ -75,7 +75,7 @@ class Rack::Attack
|
|||
# If you want to return 503 so that the attacker might be fooled into
|
||||
# believing that they've successfully broken your app (or you just want to
|
||||
# customize the response), then uncomment these lines.
|
||||
# self.throttled_response = lambda do |env|
|
||||
# self.throttled_responder = lambda do |env|
|
||||
# [ 503, # status
|
||||
# {}, # headers
|
||||
# ['']] # body
|
||||
|
|
|
|||
Loading…
Reference in a new issue