Changed port to previous

This commit is contained in:
Lucas Oliveira 2023-03-02 09:30:58 -03:00
commit 6029102fd9

View file

@ -1,10 +1,10 @@
import axios from "axios"; import axios from "axios";
export async function getAll() { export async function getAll() {
return await axios.get("http://localhost:8000/all"); return await axios.get("http://localhost:5003/");
} }
export async function sendAll(data) { export async function sendAll(data) {
console.log(data); console.log(data);
return await axios.post("http://localhost:8000/predict", data); return await axios.post("http://localhost:5003/predict", data);
} }