« get me outta code hell

scratchblocks-generator-3 - scratchblocks generator for projects made in 3.0
about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/js/main.js2
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() {