unfortunately i need to switch back to corsproxy

This commit is contained in:
onezplpl 2024-08-02 18:11:03 -04:00
parent d926b6a692
commit b4d80bee83
No known key found for this signature in database
GPG key ID: 7EC026A136F9EEC3
2 changed files with 2 additions and 2 deletions

View file

@ -7,7 +7,7 @@
--dark-3: rgb(192, 192, 192); --dark-3: rgb(192, 192, 192);
--dark-4: rgb(255, 255, 255); --dark-4: rgb(255, 255, 255);
background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.6)), url(/img/bg.png) !important; background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.6)), url(../img/bg.png) !important;
background-size: 100vw 100vh, 250px 250px !important; background-size: 100vw 100vh, 250px 250px !important;
background-repeat: repeat, repeat !important; background-repeat: repeat, repeat !important;
background-attachment: fixed, scroll !important; background-attachment: fixed, scroll !important;

View file

@ -27,7 +27,7 @@ async function genTree(treeId) {
let doThings = false; let doThings = false;
async function main() { async function main() {
let latestData = await fetch("https://hf.zenoverse.net/api/").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;