tentando resolver problema do download do zip no mmpCreator
Deploy / Deploy (push) Successful in 1m37s
Details
Deploy / Deploy (push) Successful in 1m37s
Details
This commit is contained in:
parent
3c5b571482
commit
92d35b2285
|
|
@ -789,7 +789,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
// 3. Monta a URL da API Python e inicia o download
|
// 3. Monta a URL da API Python e inicia o download
|
||||||
const apiUrl = `http://alice.ufsj.edu.br:33002/api/download/${projectName}`;
|
const apiUrl = `https://alice.ufsj.edu.br:33002/api/download/${projectName}`;
|
||||||
|
|
||||||
// Feedback visual rápido
|
// Feedback visual rápido
|
||||||
downloadBtn.style.opacity = "0.5";
|
downloadBtn.style.opacity = "0.5";
|
||||||
|
|
@ -847,7 +847,7 @@
|
||||||
uploadSampleBtn.style.pointerEvents = "none";
|
uploadSampleBtn.style.pointerEvents = "none";
|
||||||
|
|
||||||
try {
|
try {
|
||||||
const response = await fetch("http://alice.ufsj.edu.br:33002/api/upload/sample", {
|
const response = await fetch("https://alice.ufsj.edu.br:33002/api/upload/sample", {
|
||||||
method: "POST",
|
method: "POST",
|
||||||
body: formData
|
body: formData
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue