FEATURE: Digital Ocean Spaces compatibility for Object Storage

DO does not implement tagging support for S3 objects. Removing our default
empty tag fixes compatibility.

The expire_missing_assets rake task can't be used with that service still,
but this patch allows normal operation.
This commit is contained in:
Rafael dos Santos Silva 2020-03-05 20:52:45 -03:00
parent df0c386f8a
commit b810fc282d
1 changed files with 1 additions and 2 deletions

View File

@ -21,8 +21,7 @@ def upload(path, remote_path, content_type, content_encoding = nil)
options = {
cache_control: 'max-age=31556952, public, immutable',
content_type: content_type,
acl: 'public-read',
tagging: ''
acl: 'public-read'
}
if content_encoding