diff options
author | Florrie <towerofnix@gmail.com> | 2019-12-21 13:45:01 -0400 |
---|---|---|
committer | Florrie <towerofnix@gmail.com> | 2019-12-21 13:45:01 -0400 |
commit | 5fe6282bfc5f96319d257aff9da7444b52a456e3 (patch) | |
tree | 922d8e982fb434a0c8a50554c5c723de7489b949 /src/js | |
parent | 4a37d240a308d0084b04fede0133aec13c72b7a9 (diff) |
use assets cdn for better reliability
Diffstat (limited to 'src/js')
-rw-r--r-- | src/js/main.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/js/main.js b/src/js/main.js index 20a1852..11717dc 100644 --- a/src/js/main.js +++ b/src/js/main.js @@ -15,7 +15,7 @@ const errorElement = document.getElementById('error-element'); const downloadIndicator = document.getElementById('download-indicator'); function assetURL({md5, ext}) { - return 'https://assets.scratch.mit.edu/' + md5 + '.' + ext; + return `https://cdn.assets.scratch.mit.edu/internalapi/asset/${md5}.${ext}/get/`; } function isUrlInputValid() { |