2024-12-16 16:35:12 +01:00

11 lines
227 B
TypeScript

export async function GET() {
const res = await fetch('http://backend:8000/api/meals', {
headers: {
'Content-Type': 'application/json',
},
});
const data = await res.json();
return Response.json(data);
}