use corsproxy
This commit is contained in:
parent
e80470ce3f
commit
984b31014a
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ let users = {};
|
|||
let fetchData;
|
||||
|
||||
async function genTree(treeId) {
|
||||
fetchData = fetchData || await fetch(`https://scratch.mit.edu/projects/${treeId}/remixtree/bare/`)
|
||||
fetchData = fetchData || await fetch(`https://corsproxy.io/?https://scratch.mit.edu/projects/${treeId}/remixtree/bare/`)
|
||||
.then(x => x.json());
|
||||
|
||||
entries.push(treeId)
|
||||
|
|
Loading…
Reference in a new issue