This commit is contained in:
@@ -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 })
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user