Rename `serverUrl` to `companionUrl` in README

This was changed in Uppy 1.0
parent de4cdd91
...@@ -87,12 +87,12 @@ map "/s3/multipart" do ...@@ -87,12 +87,12 @@ map "/s3/multipart" do
end end
``` ```
Now in your Uppy configuration point `serverUrl` to your app's URL: Now in your Uppy configuration point `companionUrl` to your app's URL:
```js ```js
// ... // ...
uppy.use(Uppy.AwsS3Multipart, { uppy.use(Uppy.AwsS3Multipart, {
serverUrl: '/', companionUrl: '/',
}) })
``` ```
...@@ -167,12 +167,12 @@ POST /s3/multipart/:uploadId/complete ...@@ -167,12 +167,12 @@ POST /s3/multipart/:uploadId/complete
DELETE /s3/multipart/:uploadId DELETE /s3/multipart/:uploadId
``` ```
Now in your Uppy configuration point `serverUrl` to your app's URL: Now in your Uppy configuration point `companionUrl` to your app's URL:
```js ```js
// ... // ...
uppy.use(Uppy.AwsS3Multipart, { uppy.use(Uppy.AwsS3Multipart, {
serverUrl: '/', companionUrl: '/',
}) })
``` ```
......
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