Skip to content

Commit

Permalink
Rails8: don't pass base to Integer (#1253)
Browse files Browse the repository at this point in the history
It causes an error because we're not passing a string.
  • Loading branch information
mockdeep authored Dec 4, 2024
1 parent 849d60e commit e019c8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/environments/production.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

# Cache assets for far-future expiry since they are all digest stamped.
config.public_file_server.headers = {
"cache-control" => "public, max-age=#{Integer(1.year, 10)}"
"cache-control" => "public, max-age=#{Integer(1.year)}"
}

# Enable serving of images, stylesheets, and JavaScripts from an asset server.
Expand Down

0 comments on commit e019c8c

Please sign in to comment.