changed api link
This commit is contained in:
parent
188bf1fc4d
commit
b5bba04c3c
1 changed files with 1 additions and 1 deletions
|
|
@ -4,7 +4,7 @@ import axios, { AxiosResponse } from "axios";
|
|||
const backendUrl = process.env.BACKEND || "http://localhost:5003";
|
||||
|
||||
export async function getAll():Promise<AxiosResponse<APIObjectType>> {
|
||||
return await axios.get(`${backendUrl}/`);
|
||||
return await axios.get(`${backendUrl}/all`);
|
||||
}
|
||||
|
||||
export async function sendAll(data:sendAllProps) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue