Skip to content

Commit

Permalink
[fix] Usando link do vercel no lugar de localhost
Browse files Browse the repository at this point in the history
Signed-off-by: LoriaLawrenceZ <[email protected]>
  • Loading branch information
LoriaLawrenceZ committed Sep 23, 2024
1 parent f1a7a2e commit fe60860
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/Chat/openai.js
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit fe60860

Please sign in to comment.