diff --git a/src/frontend/src/controllers/NodesServices/index.ts b/src/frontend/src/controllers/NodesServices/index.ts index f1e4aa1e2..8cc3f8ef8 100644 --- a/src/frontend/src/controllers/NodesServices/index.ts +++ b/src/frontend/src/controllers/NodesServices/index.ts @@ -9,5 +9,5 @@ export async function getAll():Promise> { export async function sendAll(data:sendAllProps) { console.log(data); - return await axios.post(`${backendUrl}/predict`, data); + return await axios.post(`/predict`, data); } \ No newline at end of file