This commit is contained in:
Fishandchips321 2026-02-22 22:22:38 +00:00
parent 2a572e8bc4
commit 86f273d12d
7 changed files with 50 additions and 15 deletions

View file

@ -10,7 +10,10 @@ export interface Server {
}
export const getServerList = async (): Promise<Array<Server>> => {
console.log("fetching server list");
const response = await axios.get<Array<Server>>(`${apiUrl}/servers`);
console.log(response);
return response.data;
}