浏览代码

example/aws-php: make it forward-compatible with the next Uppy major (#4522)

Antoine du Hamel 1 年之前
父节点
当前提交
2b26e646d3
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      examples/aws-php/main.js

+ 2 - 0
examples/aws-php/main.js

@@ -11,6 +11,8 @@ uppy.use(Dashboard, {
   target: 'body',
 })
 uppy.use(AwsS3, {
+  shouldUseMultipart: false, // The PHP backend only supports non-multipart uploads
+
   getUploadParameters (file) {
     // Send a request to our PHP signing endpoint.
     return fetch('/s3-sign.php', {