diff --git a/project/frontend/src/util/api.ts b/project/frontend/src/util/api.ts index 095990c..65d3b2e 100644 --- a/project/frontend/src/util/api.ts +++ b/project/frontend/src/util/api.ts @@ -113,7 +113,7 @@ export const fetchKennzahlen = async (): Promise => { }; export async function fetchPitchBooks() { - const response = await fetch("http://localhost:5050/api/pitch_book/"); + const response = await fetch(`${API_HOST}/api/pitch_book/`); if (!response.ok) { throw new Error("Failed to fetch pitch books"); }