From 6029102fd9e8a3f159080c5008651fd390afe56c Mon Sep 17 00:00:00 2001 From: Lucas Oliveira Date: Thu, 2 Mar 2023 09:30:58 -0300 Subject: [PATCH] Changed port to previous --- space_flow/src/controllers/NodesServices/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/space_flow/src/controllers/NodesServices/index.ts b/space_flow/src/controllers/NodesServices/index.ts index 129be7a7d..28403741f 100644 --- a/space_flow/src/controllers/NodesServices/index.ts +++ b/space_flow/src/controllers/NodesServices/index.ts @@ -1,10 +1,10 @@ import axios from "axios"; export async function getAll() { - return await axios.get("http://localhost:8000/all"); + return await axios.get("http://localhost:5003/"); } export async function sendAll(data) { console.log(data); - return await axios.post("http://localhost:8000/predict", data); + return await axios.post("http://localhost:5003/predict", data); }