Skip to content

Commit

Permalink
Use lower case for response header
Browse files Browse the repository at this point in the history
It is Rack 3 way.
  • Loading branch information
tricknotes authored and seanpdoyle committed Feb 1, 2024
1 parent 8e6e34b commit db76cce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/dummy/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class Application < Rails::Application

config.public_file_server.enabled = true
config.public_file_server.headers = {
"Cache-Control" => CACHE_CONTROL_FIVE_MINUTES
"cache-control" => CACHE_CONTROL_FIVE_MINUTES
}

config.secret_token = "SECRET_TOKEN_IS_MIN_30_CHARS_LONG"
Expand Down

0 comments on commit db76cce

Please sign in to comment.