update docs, tests, and examples with companionUrl rename

This commit is contained in:
Ifedapo Olarewaju 2019-04-15 14:56:37 +01:00
parent f4e558bf94
commit adeb2fecfa
30 changed files with 76 additions and 76 deletions

View file

@ -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/' })

View file

@ -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/' })

View file

@ -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' })

View file

@ -16,7 +16,7 @@ function initUrlPlugin (companionUrl) {
})
.use(Url, {
target: Dashboard,
serverUrl: companionUrl
companionUrl: companionUrl
})
.use(Tus, { endpoint: 'https://master.tus.io/files/' })
}