mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-01-25 17:12:58 -05:00
9d039209cc
When storing files in S3, paperclip is configured with a Cache-Control header indicating the file is immutable, however no such header was added when using OpenStack storage. Luckily Paperclip's fog integration makes this trivial, with a simple `fog_file` `Cache-Control` default doing the trick.