This commit is contained in:
2024-09-24 22:19:55 +02:00
parent 70d4e9ca20
commit 8b09406339
5 changed files with 81 additions and 11 deletions

View File

@@ -59,7 +59,7 @@ async function main() {
true, "warning");
return;
}
if (await fetch("/post", {
if (await fetch("/vote", {
method: "post", body: JSON.stringify(vote)
})
.then(r => r.status) === 200) {