|
@@ -5,8 +5,7 @@ const DragDrop = require('@uppy/drag-drop')
|
|
const Tus = require('@uppy/tus')
|
|
const Tus = require('@uppy/tus')
|
|
const ProgressBar = require('@uppy/progress-bar')
|
|
const ProgressBar = require('@uppy/progress-bar')
|
|
|
|
|
|
-const isOnTravis = !!(process.env.TRAVIS && process.env.CI)
|
|
|
|
-const endpoint = isOnTravis ? 'http://companion.test:1080' : 'http://localhost:1080'
|
|
|
|
|
|
+const endpoint = 'http://localhost:1080'
|
|
|
|
|
|
// Initialise Uppy with Drag & Drop
|
|
// Initialise Uppy with Drag & Drop
|
|
const uppyDragDrop = new Uppy({
|
|
const uppyDragDrop = new Uppy({
|