stuff uwu

This commit is contained in:
Alex / Awex
2021-08-29 12:41:44 -04:00
parent ee16a1558d
commit 4b8eda0483
9 changed files with 97 additions and 1990 deletions
+8
View File
@@ -0,0 +1,8 @@
async function setSrc() {
const json = await fetch(`https://api.awexxx.xyz/assets/json/storage.json`).then(response => response.json());
const audio = document.getElementById(`audio`);
const gif = document.getElementById('gif');
audio.setAttribute(`src`, `${json.sound}`)
gif.setAttribute(`src`, `${json.gif}`)
}