Update script.js

This commit is contained in:
KaseToatz1337
2024-04-26 14:28:18 +02:00
parent b1cb73cd5d
commit 9ee22fda49

View File

@ -51,7 +51,8 @@ window.onload = () => {
method: "POST", method: "POST",
body: formData body: formData
}) })
response = request.json(); console.log("FUCK OFF");
response = await request.json();
console.log(response.message); console.log(response.message);
text.innerText = response.message; text.innerText = response.message;
if (response.type == "error") if (response.type == "error")