Skip to content

Commit

Permalink
example/aws-php: make it forward-compatible with the next Uppy major (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
aduh95 authored Jun 22, 2023
1 parent a869d2e commit 2b26e64
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/aws-php/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -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', {
Expand Down

0 comments on commit 2b26e64

Please sign in to comment.