diff --git a/src/pages/Chat/openai.js b/src/pages/Chat/openai.js index c58fea2..843eef9 100644 --- a/src/pages/Chat/openai.js +++ b/src/pages/Chat/openai.js @@ -4,7 +4,7 @@ export const handleOpenAiRequest = async (prompt) => { prompt = ""; // Envia requisição com a mensagem para a API do ChatBot - const resposta = await fetch("http://127.0.0.1:3000/chat", { + const resposta = await fetch("https://dex-backend-deployment.vercel.app/chat", { method: "POST", headers: { "Content-Type": "application/json",