Browse Source

Updated endpoint & paths

Artur Paikin 9 years ago
parent
commit
93480d5fdd
1 changed files with 5 additions and 3 deletions
  1. 5 3
      website/src/examples/modal/app.es6

+ 5 - 3
website/src/examples/modal/app.es6

@@ -1,5 +1,8 @@
 import Uppy from 'uppy/core'
-import { Dummy, DragDrop, GoogleDrive, Modal, ProgressBar, Present, Tus10 } from 'uppy/plugins'
+import Dummy from '../../../../src/plugins/Dummy.js'
+import Tus10 from '../../../../src/plugins/Tus10.js'
+import Modal from '../../../../src/plugins/Modal.js'
+import DragDrop from '../../../../src/plugins/DragDrop.js'
 import ProgressDrawer from '../../../../src/plugins/ProgressDrawer.js'
 
 const uppy = new Uppy({debug: true, autoProceed: false})
@@ -9,7 +12,6 @@ uppy
   .use(DragDrop, {target: Modal})
   // .use(GoogleDrive, {target: Modal})
   .use(Dummy, {target: Modal})
-  // .use(Present, {target: Modal})
-  .use(Tus10, {endpoint: 'http://master.tus.io:3020/files/'})
+  .use(Tus10, {endpoint: 'http://master.tus.io:8080/files/'})
   .use(ProgressDrawer, {target: Modal})
   .run()