trying to fix to hugging face spaces
This commit is contained in:
parent
7e08751bb1
commit
0a4003fb74
1 changed files with 1 additions and 1 deletions
|
|
@ -4,7 +4,7 @@ import axios, { AxiosResponse } from "axios";
|
|||
const backendUrl = window.sessionStorage.getItem('port') || "http://localhost:7860";
|
||||
|
||||
export async function getAll():Promise<AxiosResponse<APIObjectType>> {
|
||||
return await axios.get(`${backendUrl}/all`);
|
||||
return await axios.get(`/all`);
|
||||
}
|
||||
|
||||
export async function sendAll(data:sendAllProps) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue