cors moment
This commit is contained in:
parent
ff8eece888
commit
737048c0cb
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ async function genTree(treeId) {
|
||||||
let doThings = false;
|
let doThings = false;
|
||||||
|
|
||||||
async function main() {
|
async function main() {
|
||||||
let latestData = await fetch("https://api.scratch.mit.edu/studios/34493018/projects").then(x => x.json());
|
let latestData = await fetch("https://corsproxy.io/?https://api.scratch.mit.edu/studios/34493018/projects").then(x => x.json());
|
||||||
await genTree(latestData[0].id); // latest project
|
await genTree(latestData[0].id); // latest project
|
||||||
await genTree("654605857"); // tree bug here, unavoidable without jank
|
await genTree("654605857"); // tree bug here, unavoidable without jank
|
||||||
doThings = true;
|
doThings = true;
|
||||||
|
|
Loading…
Reference in a new issue