This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user