Browse Source

Add serverPattern to Transloadit Example (es6)

I guess this one also @goto-bus-stop @ifedapoolarewaju
Kevin van Zonneveld 6 years ago
parent
commit
13ab7672b8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      website/src/examples/transloadit/app.es6

+ 1 - 1
website/src/examples/transloadit/app.es6

@@ -57,7 +57,7 @@ function initUppy () {
       target: '#uppy-dashboard-container',
       note: 'Images only, 1–2 files, up to 1 MB'
     })
-    .use(Instagram, { target: Dashboard, serverUrl: 'https://api2.transloadit.com/companion' })
+    .use(Instagram, { target: Dashboard, serverUrl: 'https://api2.transloadit.com/companion', serverPattern: /\.transloadit\.com$/  })
     .use(Webcam, { target: Dashboard })
 
   uppy