diff options
author | Claire <claire.github-309c@sitedethib.com> | 2023-03-27 17:07:37 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-27 17:07:37 +0200 |
commit | e084b5b82da703dac3ade7480286e847c5c1c2cd (patch) | |
tree | 24864f286a8ac574fa32574ec558681f297676d3 /config/initializers | |
parent | ddb769f0b84d4bcff22472f236a4ec74c631d0a6 (diff) |
Fix user archive takeout when using OpenStack Swift or S3 providers with no ACL support (#24200)
Diffstat (limited to 'config/initializers')
-rw-r--r-- | config/initializers/paperclip.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/config/initializers/paperclip.rb b/config/initializers/paperclip.rb index 9282c941d..bd37f6709 100644 --- a/config/initializers/paperclip.rb +++ b/config/initializers/paperclip.rb @@ -130,6 +130,7 @@ elsif ENV['SWIFT_ENABLED'] == 'true' openstack_domain_name: ENV.fetch('SWIFT_DOMAIN_NAME') { 'default' }, openstack_region: ENV['SWIFT_REGION'], openstack_cache_ttl: ENV.fetch('SWIFT_CACHE_TTL') { 60 }, + openstack_temp_url_key: ENV['SWIFT_TEMP_URL_KEY'], }, fog_file: { 'Cache-Control' => 'public, max-age=315576000, immutable' }, |