Added proper handling of internal errors (should be no 500s anywhere)
This commit is contained in:
parent
2002dd1afa
commit
fce09edfc5
2 changed files with 75 additions and 61 deletions
|
|
@ -38,7 +38,6 @@ async function getFromServer(bodyInfo, source="",password=adminPass) {
|
|||
// the currently set password is always included in every request
|
||||
bodyInfo["password"] = password;
|
||||
}
|
||||
// console.log(bodyInfo);
|
||||
const response = await fetch("http://"+ip+"/"+source, {
|
||||
method: "POST",
|
||||
body: JSON.stringify(bodyInfo),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue