Production Build Working
CI / scan_ruby (push) Failing after 37s
CI / lint (push) Failing after 39s

This commit is contained in:
Jason Jordan
2026-09-16 12:41:44 -04:00
parent 9853d58469
commit 1c80e642f5
51 changed files with 648 additions and 440 deletions
+2 -2
View File
@@ -19,10 +19,10 @@ Devise.setup do |config|
config.jwt do |jwt|
jwt.secret = ENV['DEVISE_JWT_SECRET_KEY'] # Or Rails.application.credentials.devise_jwt_secret_key!
jwt.dispatch_requests = [
['POST', %r{^/login$}]
['POST', %r{^/signin$}]
]
jwt.revocation_requests = [
['DELETE', %r{^/logout$}]
['DELETE', %r{^/signout$}]
]
jwt.expiration_time = 30.minutes.to_i
end
+1 -1
View File
@@ -23,7 +23,7 @@ class Rack::Attack
end
# why not tell them politely if they try too much
self.throttled_response = lambda do |_env|
self.throttled_responder = lambda do |_env|
[
429,
{ "Content-Type" => "application/json" },