Переглянути джерело

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', {