From b810fc282d395ccd4172468494f389393dae1477 Mon Sep 17 00:00:00 2001 From: Rafael dos Santos Silva Date: Thu, 5 Mar 2020 20:52:45 -0300 Subject: [PATCH] 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. --- lib/tasks/s3.rake | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/tasks/s3.rake b/lib/tasks/s3.rake index b72b9e083f2..b913b0a0eee 100644 --- a/lib/tasks/s3.rake +++ b/lib/tasks/s3.rake @@ -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