mirror of
https://github.com/transloadit/uppy.git
synced 2026-07-23 10:18:40 +00:00
update docs, tests, and examples with companionUrl rename
This commit is contained in:
parent
f4e558bf94
commit
adeb2fecfa
30 changed files with 76 additions and 76 deletions
|
|
@ -15,7 +15,7 @@ class App extends Component {
|
|||
|
||||
this.uppy = new Uppy({ id: 'uppy1', autoProceed: true, debug: true })
|
||||
.use(Tus, { endpoint: 'https://master.tus.io/files/' })
|
||||
.use(GoogleDrive, { serverUrl: 'https://companion.uppy.io' })
|
||||
.use(GoogleDrive, { companionUrl: 'https://companion.uppy.io' })
|
||||
|
||||
this.uppy2 = new Uppy({ id: 'uppy2', autoProceed: false, debug: true })
|
||||
.use(Tus, { endpoint: 'https://master.tus.io/files/' })
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ Uppy({
|
|||
target: '#uppyDashboard',
|
||||
inline: true
|
||||
})
|
||||
.use(GoogleDrive, { target: Dashboard, serverUrl: 'http://localhost:3020' })
|
||||
.use(Instagram, { target: Dashboard, serverUrl: 'http://localhost:3020' })
|
||||
.use(Dropbox, { target: Dashboard, serverUrl: 'http://localhost:3020' })
|
||||
.use(GoogleDrive, { target: Dashboard, companionUrl: 'http://localhost:3020' })
|
||||
.use(Instagram, { target: Dashboard, companionUrl: 'http://localhost:3020' })
|
||||
.use(Dropbox, { target: Dashboard, companionUrl: 'http://localhost:3020' })
|
||||
.use(Tus, { endpoint: 'https://master.tus.io/files/' })
|
||||
|
|
|
|||
|
|
@ -32,10 +32,10 @@ const uppy = Core({
|
|||
proudlyDisplayPoweredByUppy: true,
|
||||
note: '2 files, images and video only'
|
||||
})
|
||||
.use(GoogleDrive, { target: Dashboard, serverUrl: 'http://localhost:3020' })
|
||||
.use(Instagram, { target: Dashboard, serverUrl: 'http://localhost:3020' })
|
||||
.use(Dropbox, { target: Dashboard, serverUrl: 'http://localhost:3020' })
|
||||
.use(Url, { target: Dashboard, serverUrl: 'http://localhost:3020' })
|
||||
.use(GoogleDrive, { target: Dashboard, companionUrl: 'http://localhost:3020' })
|
||||
.use(Instagram, { target: Dashboard, companionUrl: 'http://localhost:3020' })
|
||||
.use(Dropbox, { target: Dashboard, companionUrl: 'http://localhost:3020' })
|
||||
.use(Url, { target: Dashboard, companionUrl: 'http://localhost:3020' })
|
||||
.use(Webcam, { target: Dashboard })
|
||||
.use(Tus, { endpoint: TUS_ENDPOINT })
|
||||
.use(Form, { target: '#upload-form' })
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ function initUrlPlugin (companionUrl) {
|
|||
})
|
||||
.use(Url, {
|
||||
target: Dashboard,
|
||||
serverUrl: companionUrl
|
||||
companionUrl: companionUrl
|
||||
})
|
||||
.use(Tus, { endpoint: 'https://master.tus.io/files/' })
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue