diff --git a/frontend/src/components/Form4.tsx b/frontend/src/components/Form4.tsx index c4ed1f7..ea3c4c1 100644 --- a/frontend/src/components/Form4.tsx +++ b/frontend/src/components/Form4.tsx @@ -26,7 +26,7 @@ const formatDate = (iso: string | null) => { }; async function fetchUserLoans(): Promise { - const res = await fetch("http://localhost:8002/api/userLoans", { + const res = await fetch("https://backend.insta.the1s.de/api/userLoans", { method: "GET", headers: { Authorization: `Bearer ${Cookies.get("token") || ""}` }, });