Adding letter opener for development and Rack::Attack for future rate limiting implementations
This commit is contained in:
parent
5d72b92271
commit
e2b846f630
5 changed files with 17 additions and 0 deletions
|
@ -33,5 +33,7 @@ module Mastodon
|
|||
Doorkeeper::AuthorizedApplicationsController.layout 'dashboard'
|
||||
Doorkeeper::AuthorizationsController.layout 'auth'
|
||||
end
|
||||
|
||||
config.middleware.use Rack::Attack
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue