Skip to content

Commit dd364f3

Browse files
committed
Rails8: don't pass base to Integer
It causes an error because we're not passing a string.
1 parent 849d60e commit dd364f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/environments/production.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

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

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

0 commit comments

Comments
 (0)