teste rota /mmpSearch/api/
This commit is contained in:
1 parent
a3d706e5d7
commit
8526d74eca
3 files changed
+47
-20
No files matched your search
+2
-2
@@ -302,7 +302,7 @@ document.addEventListener('DOMContentLoaded', async () => {
|
||||
try {
|
||||
console.log("Verificando autenticação...");
|
||||
// Verifica auth via Proxy Apache
|
||||
const res = await fetch('/api/check_auth');
|
||||
const res = await fetch('/mmpSearch/api/check_auth');
|
||||
const authData = await res.json();
|
||||
|
||||
console.log("Status do usuário:", authData);
|
||||
@@ -715,7 +715,7 @@ document.addEventListener('DOMContentLoaded', async () => {
|
||||
}
|
||||
|
||||
// URL CORRIGIDA: Usando Proxy reverso (sem porta 33002)
|
||||
const API_URL = '/api/upload/sample';
|
||||
const API_URL = '/mmpSearch/api/upload/sample';
|
||||
|
||||
// UI Loading
|
||||
confirmUploadBtn.classList.add('is-loading');
|
||||
|
||||
Reference in new issue
Block a user