changed ports

This commit is contained in:
2025-09-21 10:46:53 +02:00
parent 1b08344a0f
commit 27db4c7390

View File

@@ -48,7 +48,9 @@ const Landingpage: React.FC = () => {
const fetchLoans = async () => {
setIsLoading(true);
try {
const res = await fetch("http://localhost:8002/apiV2/allLoans");
const res = await fetch(
"https://backend.insta.the1s.de/apiV2/allLoans"
);
const data = await res.json();
if (Array.isArray(data)) {
setLoans(data);