mirror of
https://github.com/transloadit/uppy.git
synced 2026-01-23 02:25:07 +00:00
fix demo not working in IE 11 (es5), add Dropbox too
This commit is contained in:
parent
899557e446
commit
07397ed88b
1 changed files with 3 additions and 2 deletions
|
|
@ -167,11 +167,12 @@
|
|||
})
|
||||
.use(Uppy.GoogleDrive, { target: Uppy.Dashboard, companionUrl: COMPANION_ENDPOINT })
|
||||
.use(Uppy.Instagram, { target: Uppy.Dashboard, companionUrl: COMPANION_ENDPOINT })
|
||||
.use(Uppy.Dropbox, { target: Uppy.Dashboard, companionUrl: COMPANION_ENDPOINT })
|
||||
.use(Uppy.Webcam, { target: Uppy.Dashboard })
|
||||
.use(Uppy.Url, { target: Uppy.Dashboard, companionUrl: COMPANION_ENDPOINT })
|
||||
.use(Uppy.Tus, { endpoint: TUS_ENDPOINT})
|
||||
|
||||
uppy.on('success', (files) => {
|
||||
console.log(`Upload complete! We’ve uploaded these files: ${files}`)
|
||||
uppy.on('success', function (files) {
|
||||
console.log('Upload complete! We’ve uploaded these files:', files)
|
||||
})
|
||||
</script>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue