final fixes

This commit is contained in:
KaseToatz1337
2024-04-26 14:00:38 +02:00
parent 9d902b2ce9
commit 26a58fe156
5 changed files with 19 additions and 21 deletions

View File

@ -47,7 +47,7 @@ window.onload = () => {
formData.append("amount", parseInt(amount.value));
text.value = "Flooding in progress...";
text.style.color = "green";
var request = await fetch("http://127.0.0.1/flood", {
var request = await fetch("/api/flood", {
method: "POST",
body: formData
})