Implemented basic Vue.js frontend #222

Merged
bema merged 14 commits from bema/func/vue_frontend into master 2023-06-14 11:26:02 +02:00
Showing only changes of commit fbd6ec8f3a - Show all commits

View File

@@ -23,10 +23,9 @@ async function submit() {
});
var responseBody = await fetch(request).then(async response => {
const text = await response.text();
return JSON.parse(text);
});
var responseBody = await fetch(request)
.then(response => response.json())
.then((body) => body);
result.value = responseBody.result;
}