From 984b31014afec4a461efff5625d91f2f40ad5dc5 Mon Sep 17 00:00:00 2001 From: zeno Date: Sun, 24 Mar 2024 18:58:47 -0400 Subject: [PATCH] use corsproxy --- js/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/app.js b/js/app.js index 93a335b..8bc2719 100644 --- a/js/app.js +++ b/js/app.js @@ -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)