save me from this nigthmare
All checks were successful
Deploy / trigger (push) Successful in 22s

This commit is contained in:
2026-03-28 12:23:52 +01:00
parent 46de742130
commit 3627db7318

View File

@@ -22,8 +22,7 @@ async function decrypt() {
document.getElementById("decodedtext").value = "Decifratura in corso...";
try {
// NOTA: Controlla che la rotta nel tuo Java sia corretta (/seal/rsa/decrypt o /api/rsa/decifra)
const res = await fetch("http://localhost:8080/seal/rsa/decrypt", {
const res = await fetch("/seal/rsa/decrypt", {
method: "POST", headers: { "Content-Type": "application/json" },
body: JSON.stringify({ text: input })
});