tentando resolver problema do download do zip no mmpCreator
This commit is contained in:
1 parent
28792fb397
commit
74b395bbd2
1 file changed
+2
-2
+2
-2
@@ -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
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in new issue
Block a user