switch server to rust based since it's much easier

This commit is contained in:
Chris Cochrun 2023-05-26 16:21:21 -05:00
parent 465b2de7f2
commit 09f3ea62f2
7 changed files with 1974 additions and 18 deletions

View file

@ -68,9 +68,9 @@
fetch("http://localhost:4242/health-form", {
method: "POST",
headers: {
"Content-Type": "application/json",
"Content-Type": "multipart/form-data",
},
body: JSON.stringify(Object.fromEntries(data))
body: data
}).then((res) => {
console.log(res);
});