unfortunately i need to switch back to corsproxy
This commit is contained in:
parent
d926b6a692
commit
b4d80bee83
2 changed files with 2 additions and 2 deletions
|
@ -7,7 +7,7 @@
|
|||
--dark-3: rgb(192, 192, 192);
|
||||
--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-repeat: repeat, repeat !important;
|
||||
background-attachment: fixed, scroll !important;
|
||||
|
|
|
@ -27,7 +27,7 @@ async function genTree(treeId) {
|
|||
let doThings = false;
|
||||
|
||||
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("654605857"); // tree bug here, unavoidable without jank
|
||||
doThings = true;
|
||||
|
|
Loading…
Reference in a new issue