We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a7a80fb commit 0bf516dCopy full SHA for 0bf516d
app/controllers/application_controller.rb
@@ -3,8 +3,8 @@
3
class ApplicationController < ActionController::Base
4
protect_from_forgery with: :exception
5
6
- rate_limit to: 60, within: 1.minute
7
- rate_limit to: 1000, within: 1.day
+ rate_limit to: 30, within: 1.minute
+ rate_limit to: 500, within: 1.day
8
9
def route_not_found
10
render file: Rails.public_path.join("404.html"), status: :not_found, layout: false
0 commit comments