feat: add some stuff

This commit is contained in:
Max Richter
2025-10-04 13:19:19 +02:00
parent fcad418b91
commit 5ad7face12
2 changed files with 21 additions and 13 deletions

View File

@@ -1,7 +1,7 @@
export async function listResource(id: string): Promise<any[]> {
try {
const response = await fetch(
`http://localhost:8080/${id}`,
`https://marka.max-richter.dev/${id}`,
);
return await response.json();
} catch (error) {