diff --git a/Client/scripts.js b/Client/scripts.js index 3aafbff..5aa8678 100644 --- a/Client/scripts.js +++ b/Client/scripts.js @@ -10,7 +10,7 @@ async function alertText(text="Song Added!") { // it to return the right stuff and javascript is asyrcronouse (boo) async function getFromServer(bodyInfo, source="") { try{ - const response = await fetch("http://" + ip+"/"+source, { + const response = await fetch("http://"+ip+"/"+source, { method: "POST", body: JSON.stringify(bodyInfo), headers: {