Working API request body parsing to /post config!

This commit is contained in:
Saba
2021-11-28 11:12:26 -05:00
parent 64645c3ac1
commit 66183cc298
5 changed files with 10 additions and 16 deletions

View File

@@ -19,6 +19,7 @@ fetch("/config")
configForm.addEventListener("submit", (event) => {
event.preventDefault();
console.log(rawConfig);
const response = fetch("/config", {
method: "POST",
credentials: "same-origin",