mirror of
https://github.com/transloadit/uppy.git
synced 2026-07-27 12:13:53 +00:00
fix usage example
This commit is contained in:
parent
84e5de2cc7
commit
04597ef3fb
1 changed files with 1 additions and 1 deletions
|
|
@ -6,7 +6,7 @@ import MetaData from 'uppy/lib/plugins/MetaData'
|
|||
const uppy = Uppy({autoProceed: false})
|
||||
.use(Dashboard, {trigger: '#select-files', target: '#upload-form', replaceTargetContent: true})
|
||||
.use(Tus10, {endpoint: '://master.tus.io/files/'})
|
||||
uppy.use(MetaData, {
|
||||
.use(MetaData, {
|
||||
fields: [
|
||||
{ id: 'resizeTo', name: 'Resize to', value: 1200, placeholder: 'specify future image size' },
|
||||
{ id: 'description', name: 'Description', value: 'none', placeholder: 'describe what the file is for' }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue