mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 16:01:38 +08:00
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:
parent
df0c386f8a
commit
b810fc282d
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user