mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
DEV: Only support multipart for backup S3 uploads with Uppy (#15270)
In the composer, we already only allow for S3 multipart uploads if enable_direct_s3_uploads is true, so in the backups uploader that is based on Uppy we want to do the same thing. In future if self-hosters need some way to not use S3 multipart in these scenarios for whatever reason we can revisit this then (which should be as simple as adding a enable_multipart_s3_uploads site setting).
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
class="btn-default"}}
|
||||
{{/if}}
|
||||
{{else}}
|
||||
{{#if (and siteSettings.enable_direct_s3_uploads siteSettings.enable_experimental_backup_uploader)}}
|
||||
{{#if siteSettings.enable_experimental_backup_uploader}}
|
||||
{{uppy-backup-uploader done=(route-action "remoteUploadSuccess")}}
|
||||
{{else}}
|
||||
{{backup-uploader done=(route-action "remoteUploadSuccess")}}
|
||||
|
||||
Reference in New Issue
Block a user