Fix locales — point to CDN v1.31.0

This commit is contained in:
Artur Paikin 2021-08-17 18:25:29 +01:00
parent 980074c0a1
commit 198f23649f
3 changed files with 3 additions and 3 deletions

View file

@ -35,7 +35,7 @@ Add a `<script>` tag with Uppy bundle and the locale pack youd like to use. Y
```html
<script src="https://releases.transloadit.com/uppy/v1.31.0/uppy.min.js"></script>
<script src="https://releases.transloadit.com/uppy/locales/v2.0.0-alpha.0/de_DE.min.js"></script>
<script src="https://releases.transloadit.com/uppy/locales/v1.31.0/de_DE.min.js"></script>
<script>
var uppy = Uppy.Core({

View file

@ -213,7 +213,7 @@ function loadLocaleFromCDN (localeName) {
const head = document.getElementsByTagName('head')[0]
const js = document.createElement('script')
js.type = 'text/javascript'
js.src = `https://releases.transloadit.com/uppy/locales/v2.0.0-alpha.0/${localeName}.min.js`
js.src = `https://releases.transloadit.com/uppy/locales/v1.31.0/${localeName}.min.js`
head.appendChild(js)
}

View file

@ -13,7 +13,7 @@
<!-- Load Uppy JS bundle. -->
<script src="https://releases.transloadit.com/uppy/v1.31.0/uppy.min.js"></script>
<script src="https://releases.transloadit.com/uppy/locales/v2.0.0-alpha.0/ru_RU.min.js"></script>
<script src="https://releases.transloadit.com/uppy/locales/v1.31.0/ru_RU.min.js"></script>
<script>
var uppy = Uppy.Core({
debug: true,