pls work
All checks were successful
Deploy / trigger (push) Successful in 24s

This commit is contained in:
2026-04-20 22:12:37 +02:00
parent db001a6729
commit be33e66d5c

View File

@@ -23,7 +23,8 @@ async function decrypt() {
method: "POST", headers: { "Content-Type": "application/json" },
body: JSON.stringify({ ciphertext: ciphertext })
});
document.getElementById("decodedtext").value = await res.JSON;
const data = await res.json();
document.getElementById("decodedtext").value = JSON.stringify(data, null, 2);
} catch (e) { alert("Errore di connessione!"); }
}