Fix serverUrl not accepting a blank value

parent fc03248d
...@@ -170,7 +170,7 @@ string: ...@@ -170,7 +170,7 @@ string:
```js ```js
// ... // ...
uppy.use(Uppy.AwsS3Multipart, { uppy.use(Uppy.AwsS3Multipart, {
serverUrl: '', // uses relative URLs (pass 'https://your-app.com' for absolute URLs) serverUrl: window.location.origin, // current scheme + host + port
}) })
uppy.on('upload-success', function (file, data, uploadURL) { uppy.on('upload-success', function (file, data, uploadURL) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment