Combining all my work #1
1 changed files with 1 additions and 1 deletions
|
|
@ -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: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue