|
@@ -65,7 +65,7 @@ $ npm install @uppy/core @uppy/dashboard @uppy/tus
|
|
|
|
|
|
We recommend installing from npm and then using a module bundler such as [Webpack](https://webpack.js.org/), [Browserify](http://browserify.org/) or [Rollup.js](http://rollupjs.org/).
|
|
|
|
|
|
-Add CSS [uppy.min.css](https://transloadit.edgly.net/releases/uppy/v1.22.0/uppy.min.css), either to your HTML page's `<head>` or include in JS, if your bundler of choice supports it — transforms and plugins are available for Browserify and Webpack.
|
|
|
+Add CSS [uppy.min.css](https://releases.transloadit.com/uppy/v1.22.0/uppy.min.css), either to your HTML page's `<head>` or include in JS, if your bundler of choice supports it — transforms and plugins are available for Browserify and Webpack.
|
|
|
|
|
|
Alternatively, you can also use a pre-built bundle from Transloadit's CDN: Edgly. In that case `Uppy` will attach itself to the global `window.Uppy` object.
|
|
|
|
|
@@ -73,10 +73,10 @@ Alternatively, you can also use a pre-built bundle from Transloadit's CDN: Edgly
|
|
|
|
|
|
```html
|
|
|
<!-- 1. Add CSS to `<head>` -->
|
|
|
-<link href="https://transloadit.edgly.net/releases/uppy/v1.22.0/uppy.min.css" rel="stylesheet">
|
|
|
+<link href="https://releases.transloadit.com/uppy/v1.22.0/uppy.min.css" rel="stylesheet">
|
|
|
|
|
|
<!-- 2. Add JS before the closing `</body>` -->
|
|
|
-<script src="https://transloadit.edgly.net/releases/uppy/v1.22.0/uppy.min.js"></script>
|
|
|
+<script src="https://releases.transloadit.com/uppy/v1.22.0/uppy.min.js"></script>
|
|
|
|
|
|
<!-- 3. Initialize -->
|
|
|
<div class="UppyDragDrop"></div>
|
|
@@ -174,7 +174,7 @@ const Uppy = require('@uppy/core')
|
|
|
If you're using Uppy from CDN, `es6-promise` and `whatwg-fetch` are already included in the bundle, so no need to include anything additionally:
|
|
|
|
|
|
```html
|
|
|
-<script src="https://transloadit.edgly.net/releases/uppy/v1.22.0/uppy.min.js"></script>
|
|
|
+<script src="https://releases.transloadit.com/uppy/v1.22.0/uppy.min.js"></script>
|
|
|
```
|
|
|
|
|
|
## FAQ
|