diff --git a/backend/app.js b/backend/app.js index 79e15e7..8a55f6e 100644 --- a/backend/app.js +++ b/backend/app.js @@ -5,7 +5,7 @@ import cors from "cors"; // Inicialização do Express const app = express(); -app.use(cors); +app.use(cors()); // Rota de saúde, utilizada para testar se a API-REST está no ar app.get("/health", (req, res) => { diff --git a/frontend/index.html b/frontend/index.html index aa67a45..5cc12ff 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -6,20 +6,19 @@ Document - -
- - - - - - - + +
NomeE-mailPerfil
+ + + + + + - -
NomeE-mailPerfil
-
+ + - + + \ No newline at end of file diff --git a/frontend/app.js b/frontend/js/app.js similarity index 92% rename from frontend/app.js rename to frontend/js/app.js index 5729d7a..cc76e17 100644 --- a/frontend/app.js +++ b/frontend/js/app.js @@ -15,6 +15,4 @@ async function carregarUsuarios(){ }); } -window.onload = () => { - carregarUsuarios(); -}; \ No newline at end of file +window.onload = carregarUsuarios; \ No newline at end of file